Skip to content

Commit

Permalink
try a venv?
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarbranson committed Sep 11, 2024
1 parent 6fdfe77 commit d2ea187
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Python dependencies
shell: bash -l {0}
run: |
python3 -m pip install --break-system-packages -r requirements.txt
python3 -m pip install --break-system-packages -e . --no-deps --force-reinstall
uses: getsentry/action-setup-venv@v2
with:
python-version: ${{ matrix.python-version }}
system-site-packages: false
cache-dependency-path: |
requirements.txt
install-cmd: |
pip install -r requirements.txt
pip install -e . --no-deps --force-reinstall
- name: Run tests
run: |
Expand Down

0 comments on commit d2ea187

Please sign in to comment.