@@ -58,10 +58,14 @@ jobs:
|
58 | 58 | - name: Set up Python ${{ matrix.python }} |
59 | 59 | uses: astral-sh/setup-uv@v6 |
60 | 60 | with: |
| 61 | +architecture: ${{ matrix.os.platform }} |
61 | 62 | python-version: ${{ matrix.python }} |
62 | 63 | activate-environment: true |
63 | 64 | enable-cache: true |
64 | 65 | |
| 66 | + - name: Synchronize the virtual environment |
| 67 | +run: uv sync |
| 68 | + |
65 | 69 | - name: Embedding tests (Mono/.NET Framework) |
66 | 70 | run: dotnet test --runtime any-${{ matrix.os.platform }} --framework net472 --logger "console;verbosity=detailed" src/embed_tests/ |
67 | 71 | if: always() |
@@ -74,14 +78,14 @@ jobs:
|
74 | 78 | |
75 | 79 | - name: Python Tests (Mono) |
76 | 80 | if: ${{ matrix.os.category != 'windows' }} |
77 | | -run: python -m pytest --runtime mono |
| 81 | +run: pytest --runtime mono |
78 | 82 | |
79 | 83 | - name: Python Tests (.NET Core) |
80 | | -run: python -m pytest --runtime coreclr |
| 84 | +run: pytest --runtime coreclr |
81 | 85 | |
82 | 86 | - name: Python Tests (.NET Framework) |
83 | 87 | if: ${{ matrix.os.category == 'windows' }} |
84 | | -run: python -m pytest --runtime netfx |
| 88 | +run: pytest --runtime netfx |
85 | 89 | |
86 | 90 | - name: Python tests run from .NET |
87 | 91 | run: dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/ |