Skip to content

Commit

Permalink
update this workflow to run tests in poetry's venv (w/ poetry run)
Browse files Browse the repository at this point in the history
  • Loading branch information
phycodurus committed Nov 1, 2023
1 parent 8fc7d68 commit 5efff1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3]
python-version: ["3.11", "3.10", "3.9", "3.8"]
# 3.12 not working yet for numpy 1.24
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
Expand All @@ -24,7 +25,7 @@ jobs:
python -m pip install poetry
poetry install --with test
- name: Run tests
run: python manage.py test --exclude-tag=canary
run: poetry run python manage.py test --exclude-tag=canary

create_release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5efff1a

Please sign in to comment.