Skip to content

Commit e8e6f90

Browse files
committed
Synchronize the environment
1 parent 7c9434d commit e8e6f90

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,14 @@ jobs:
5858
- name: Set up Python ${{ matrix.python }}
5959
uses: astral-sh/setup-uv@v6
6060
with:
61+
architecture: ${{ matrix.os.platform }}
6162
python-version: ${{ matrix.python }}
6263
activate-environment: true
6364
enable-cache: true
6465

66+
- name: Synchronize the virtual environment
67+
run: uv sync
68+
6569
- name: Embedding tests (Mono/.NET Framework)
6670
run: dotnet test --runtime any-${{ matrix.os.platform }} --framework net472 --logger "console;verbosity=detailed" src/embed_tests/
6771
if: always()
@@ -74,14 +78,14 @@ jobs:
7478

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

7983
- name: Python Tests (.NET Core)
80-
run: python -m pytest --runtime coreclr
84+
run: pytest --runtime coreclr
8185

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

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

0 commit comments

Comments
 (0)