Skip to content

Commit

Permalink
Update test-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Dec 11, 2023
1 parent 6a00ca4 commit 897069a
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# cache: 'pip'

- name: Cache virtualenv
uses: actions/cache@v3
with:
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-test.txt') }}
path: ./venv

- name: Create virtualenv
run: |
python -m venv ./venv
source ./venv/bin/activate
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
cache: 'pip'

- name: Install dependencies
run: |
Expand Down

0 comments on commit 897069a

Please sign in to comment.