Skip to content

Commit

Permalink
Drop redundant virtualenv we're not using
Browse files Browse the repository at this point in the history
I'm guessing the expectation here was that sourceing the virtualenv
would persist, however that's not how Github Actions works. As is
therefore working fine without a virtualenv, drop the redundant work.
  • Loading branch information
PeterJCLaw committed Apr 6, 2024
1 parent bbf436f commit 1c5effd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Create virtualenv
run: python3 -m venv venv

- uses: actions/cache@v3
with:
path: venv/
key: ${{ runner.os }}-${{ matrix.python }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}

- name: Use virtualenv
run: source venv/bin/activate

- name: Install dependencies
run: pip install -r requirements.txt -r requirements-dev.txt

Expand Down

0 comments on commit 1c5effd

Please sign in to comment.