Skip to content

Commit

Permalink
Try out tox-py
Browse files Browse the repository at this point in the history
  • Loading branch information
amureki authored and Bogdanp committed Nov 2, 2022
1 parent b617c48 commit 21ce8f2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@ jobs:
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
django-version: [ "3.2", "4.0", "4.1" ]
name: Test on Python ${{ matrix.python-version }} with Django ${{ matrix.django-version }}
name: Test on Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: pip install tox
- run: tox -e "py${PYTHON_VERSION//[.]/}-cpython-django${DJANGO_VERSION//[.]/}"
- run: pip install tox tox-py
- run: tox --py current
env:
PYTHON_VERSION: ${{ matrix.python-version }}
DJANGO_VERSION: ${{ matrix.django-version }}

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 21ce8f2

Please sign in to comment.