diff --git a/.github/workflows/test_pytest.yaml b/.github/workflows/test_pytest.yaml index 15f69b7ce..2c9e97b21 100644 --- a/.github/workflows/test_pytest.yaml +++ b/.github/workflows/test_pytest.yaml @@ -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 .