File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check test and code linting
2+ on : [push]
3+
4+ jobs :
5+ pre-commit :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v3
9+ -
uses :
pre-commit/[email protected] 10+
11+ build :
12+ runs-on : ubuntu-20.04
13+ strategy :
14+ matrix :
15+ include :
16+ - python-version : " 3.8"
17+ tox : min
18+ - python-version : " 3.9"
19+ - python-version : " 3.10"
20+ - python-version : " 3.11"
21+
22+ steps :
23+ - uses : actions/checkout@v2
24+ - name : Set up Python ${{ matrix.python-version }}
25+ uses : actions/setup-python@v2
26+ with :
27+ python-version : ${{ matrix.python-version }}
28+ - name : Install dependencies
29+ run : |
30+ python -m pip install --upgrade pip
31+ pip install tox codecov
32+ - name : Run base tests
33+ run : tox -e base
34+ - name : Run all test
35+ run : tox -e ${{ matrix.tox || 'py' }}
You can’t perform that action at this time.
0 commit comments