| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,12 +58,17 @@ jobs: | |||
| 58 | 58 | - name: Set up Python ${{ matrix.python }} | |
| 59 | 59 | uses: astral-sh/setup-uv@v7 | |
| 60 | 60 | with: | |
| 61 | + architecture: ${{ matrix.os.platform }} | ||
| 61 | 62 | python-version: ${{ matrix.python }} | |
| 63 | + cache-python: true | ||
| 62 | 64 | activate-environment: true | |
| 63 | 65 | enable-cache: true | |
| 64 | 66 | ||
| 65 | 67 | - name: Synchronize the virtual environment | |
| 66 | - run: uv sync | ||
| 68 | + run: uv sync --managed-python | ||
| 69 | + | ||
| 70 | + - name: Show pyvenv.cfg | ||
| 71 | + run: cat .venv/pyvenv.cfg | ||
| 67 | 72 | ||
| 68 | 73 | - name: Embedding tests (Mono/.NET Framework) | |
| 69 | 74 | run: dotnet test --runtime any-${{ matrix.os.platform }} --framework net472 --logger "console;verbosity=detailed" src/embed_tests/ | |
@@ -77,14 +82,14 @@ jobs: | |||
| 77 | 82 | ||
| 78 | 83 | - name: Python Tests (Mono) | |
| 79 | 84 | if: ${{ matrix.os.category != 'windows' }} | |
| 80 | - run: python -m pytest --runtime mono | ||
| 85 | + run: pytest --runtime mono | ||
| 81 | 86 | ||
| 82 | 87 | - name: Python Tests (.NET Core) | |
| 83 | - run: python -m pytest --runtime coreclr | ||
| 88 | + run: pytest --runtime coreclr | ||
| 84 | 89 | ||
| 85 | 90 | - name: Python Tests (.NET Framework) | |
| 86 | 91 | if: ${{ matrix.os.category == 'windows' }} | |
| 87 | - run: python -m pytest --runtime netfx | ||
| 92 | + run: pytest --runtime netfx | ||
| 88 | 93 | ||
| 89 | 94 | - name: Python tests run from .NET | |
| 90 | 95 | run: dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments