Add caching for virtualenv

This commit is contained in:
2025-01-06 15:10:00 +01:00
parent 0c4d72e17a
commit cbe42d3a60
2 changed files with 15 additions and 0 deletions

View File

@ -29,6 +29,9 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
- uses: ./.github/actions/setup_project
env:
# To avoid race conditions on environment cache
CACHE_SUFFIX: ${{ matrix.pytest-mark }}
- name: Run tests
run: uv run coverage run -m pytest -m "${{ matrix.pytest-mark }}"
- name: Generate coverage report