Skip to content

Commit

Permalink
[squash] regenerate requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kralka committed Feb 4, 2025
1 parent 1210216 commit db5573b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- runner: ubuntu-latest # x64
- runner: ubuntu-24.04-arm # arm64
- runner: windows-latest # x64
- runner: macos-13 # Intel
- runner: macos-14 # arm64
- runner: macos-latest # arm64
if: github.event_name != 'schedule'
Expand All @@ -41,12 +42,13 @@ jobs:
with:
path: ${{ steps.pip-cache.outputs.dir }}
# The cache key depends on requirements.txt
key: ${{ matrix.platform.runner }}-pip-${{ hashFiles('requirements*.txt') }}-${{ hashFiles('test_requirements*.txt') }}
key: ${{ matrix.platform.runner }}-pip-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('requirements*.txt') }}-${{ hashFiles('test_requirements*.txt') }}
# Build a virtualenv, but only if it doesn't already exist
- name: Populate pip cache
run: |
pip install -r test_requirements.txt
pip-compile --generate-hashes pyproject.toml
pip install -r requirements.txt
pip install -r test_requirements.txt
if: steps.cache.outputs.cache-hit != 'true'
- name: Save cache
id: cache-save
Expand Down

0 comments on commit db5573b

Please sign in to comment.