-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (46 loc) · 1.54 KB
/
Copy pathmanaged-tests.yml
File metadata and controls
55 lines (46 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: managed-tests
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-15]
runs-on: ${{ matrix.os }}
steps:
- name: Check out the repository
uses: actions/checkout@v6
- name: Install the reference CPython
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install the .NET SDK
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.301
- name: Verify deterministic parser regeneration
run: >
dotnet run --project src/DotPython.ParserGenerator.Tool --
check
src/DotPython.ParserGenerator/Grammar/python314-subset.gram
src/DotPython.ParserGenerator/Generated/PythonGrammar.g.cs
- name: Build the solution
run: dotnet build DotPython.sln --configuration Release
- name: Run the language and runtime test suites
run: |
set -eu
for project in ParserTests CompilerTests RuntimeTests InteropTests \
PackageCompatibilityTests BuildIntegrationTests; do
dotnet run --project "tests/DotPython.$project" --configuration Release --no-build
done
- name: Run the CPython differential suite without skips
env:
DOTPYTHON_REFERENCE_PYTHON: python3.14
run: >
dotnet run --project tests/DotPython.DifferentialTests
--configuration Release --no-build -- -failSkips