Skip to content

Commit

Permalink
WIP: Add cache for Python dependencies in GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Dec 18, 2023
1 parent c36e397 commit 492c008
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-tests.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install rocketpy
run: pip install .
Expand Down

0 comments on commit 492c008

Please sign in to comment.