File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Python tests
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ python :
12+ - { VERSION: "3.6", TOXENV: "py36", ALLOW_FAILURE: false }
13+ - { VERSION: "3.7", TOXENV: "py37", ALLOW_FAILURE: false }
14+ - { VERSION: "3.8", TOXENV: "py38", ALLOW_FAILURE: false }
15+ - { VERSION: "3.9", TOXENV: "py39,pep8",ALLOW_FAILURE: false }
16+ - { VERSION: "3.10", TOXENV: "py310", ALLOW_FAILURE: false }
17+ - { VERSION: "pypy3", TOXENV: "pypy", ALLOW_FAILURE: false }
18+
19+ steps :
20+ - name : Check out the repository
21+ uses : actions/checkout@v2.3.4
22+ - name : Setup Python
23+ uses : actions/setup-python@v2.2.1
24+ with :
25+ python-version : ${{ matrix.PYTHON.VERSION }}
26+ - name : Upgrade pip
27+ run : |
28+ pip install -U pip
29+ pip --version
30+ - name : Install Tox
31+ run : |
32+ pip install -U tox
33+ tox --version
34+ - name : Run Tox
35+ run : tox
36+ env :
37+ TOXENV : ${{ matrix.PYTHON.TOXENV }}
38+ GH_RECORD_MODE : " none"
39+ continue-on-error : ${{ matrix.PYTHON.ALLOW_FAILURE }}
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ envlist =
66 py36,
77 py37,
88 py38,
9+ py39,
10+ py310,
911 pep8,
1012
1113[testenv]
You can’t perform that action at this time.
0 commit comments