Skip to content

Commit

Permalink
Specify toxenv explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelLefkowitz committed Jul 18, 2022
1 parent 3972472 commit fe53426
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
python-version: ${{ matrix.python }}

- name: Run tests
run: tox
env:
TOXENV: ${{ matrix.python }}
run: tox -e py${TOXENV//.}

- name: Check for incompatibilities with publishing to PyPi
if: ${{ matrix.python }} == 3.8
if: ${{ matrix.python == 3.8 }}
run: |
pip install -r requirements/publish.txt
python setup.py sdist
twine check dist/*
pip install -r requirements/publish.txt
python setup.py sdist
twine check dist/*

0 comments on commit fe53426

Please sign in to comment.