Skip to content

Commit 24abe2e

Browse files
committed
Add tox compatibility builds
1 parent b030299 commit 24abe2e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,34 @@ jobs:
1717
poetry-version: '1.1.4'
1818
- run: pip install tox
1919
- run: tox -e lint,py39-dj31
20+
test_compatibility:
21+
needs: test
22+
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
include:
26+
- python: "3.6"
27+
toxenv: py36-dj22,py36-dj30,py36-dj31,py36-djmain
28+
- python: "3.7"
29+
toxenv: py37-dj22,py37-dj30,py37-dj31,py37-djmain
30+
- python: "3.8"
31+
toxenv: py38-dj22,py38-dj30,py38-dj31,py38-djmain
32+
- python: "3.9"
33+
toxenv: py39-dj22,py39-dj30,py39-dj31,py39-djmain
34+
# - python: "3.10.0-alpha.6"
35+
# toxenv: py39-dj22,py39-dj30,py39-dj31,py39-djmain
36+
steps:
37+
- uses: actions/checkout@v2
38+
- uses: actions/setup-python@v2
39+
with:
40+
python-version: ${{ matrix.python }}
41+
- uses: Gr1n/setup-poetry@v4
42+
with:
43+
poetry-version: '1.1.4'
44+
- run: pip install tox
45+
- run: tox --parallel
46+
env:
47+
TOXENV: ${{ matrix.toxenv }}
2048
build_site:
2149
needs: test
2250
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)