Skip to content
Prev Previous commit
Next Next commit
Synchronize the environment
  • Loading branch information
filmor committed Dec 8, 2025
commit 5272e346944e87ccc0ddcfd2a4f17a4b15f3883e
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,17 @@ jobs:
- name: Set up Python ${{ matrix.python }}
uses: astral-sh/setup-uv@v7
with:
architecture: ${{ matrix.os.platform }}
python-version: ${{ matrix.python }}
cache-python: true
activate-environment: true
enable-cache: true

- name: Synchronize the virtual environment
run: uv sync
run: uv sync --managed-python

- name: Show pyvenv.cfg
run: cat .venv/pyvenv.cfg

- name: Embedding tests (Mono/.NET Framework)
run: dotnet test --runtime any-${{ matrix.os.platform }} --framework net472 --logger "console;verbosity=detailed" src/embed_tests/
Expand All @@ -77,14 +82,14 @@ jobs:

- name: Python Tests (Mono)
if: ${{ matrix.os.category != 'windows' }}
run: python -m pytest --runtime mono
run: pytest --runtime mono

- name: Python Tests (.NET Core)
run: python -m pytest --runtime coreclr
run: pytest --runtime coreclr

- name: Python Tests (.NET Framework)
if: ${{ matrix.os.category == 'windows' }}
run: python -m pytest --runtime netfx
run: pytest --runtime netfx

- name: Python tests run from .NET
run: dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/