Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,23 @@ jobs:
matrix:
os: [windows-latest, ubuntu-22.04, macos-14]
framework: ['net462', 'net8.0', 'net10.0']
stdlib: ['3.4', '3.6']

name: test (${{ matrix.os }}, ${{ matrix.framework }}, ${{ matrix.stdlib }})

steps:
# Prerequisites
- uses: actions/checkout@v6
with:
submodules: true

# Retarget to a different Python version by switching the StdLib branch
- name: Checkout StdLib ${{ matrix.stdlib }}
if: matrix.stdlib != '3.4'
run: |
git -C src/core/IronPython.StdLib fetch --depth 1 origin ${{ matrix.stdlib }}
git -C src/core/IronPython.StdLib checkout FETCH_HEAD

# Setup .NET
- name: Setup .NET 10.0
uses: actions/setup-dotnet@v5
Expand All @@ -90,6 +100,13 @@ jobs:
# Build & Test
- name: Build
run: pwsh make.ps1
- name: Version Information (${{ matrix.framework }})
run: |
$ipy = "bin/Release/${{ matrix.framework }}/ipy"
if ('${{ matrix.framework }}' -ne 'net462') { dotnet "$ipy.dll" -VV }
elseif ($IsWindows) { & "$ipy.exe" -VV }
else { mono "$ipy.exe" -VV }
shell: pwsh
- name: Test (${{ matrix.framework }})
run: ./make.ps1 -frameworks ${{ matrix.framework }} test-all
shell: pwsh
1 change: 1 addition & 0 deletions tests/IronPython.Tests/Cases/CPythonCasesManifest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ Ignore=true # blocked by https://github.com/IronLanguages/ironpython3/issues/122

[CPython.test_source_encoding]
IsolationLevel=ENGINE # source file in a non-UTF-8 encoding
Timeout=300000 # 5 minute timeout - Mono is extremely slow

[CPython.test_spwd] # Module has been removed in 3.13 - https://github.com/IronLanguages/ironpython3/issues/1352
RunCondition=$(IS_POSIX) AND NOT $(IS_OSX) # https://github.com/IronLanguages/ironpython3/issues/1545
Expand Down
Loading