File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build package
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ push :
8+ tags :
9+ - ' *'
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : ' 3.10'
19+ - run : |
20+ pip install tox
21+ - name : Run linters
22+ run : tox -e build || true
23+
24+ test :
25+ runs-on : ubuntu-latest
26+ needs : build
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : actions/setup-python@v5.4.0
30+ with :
31+ python-version : ' 3.10'
32+ - run : |
33+ pip install tox
34+ - name : Run unittests
35+ run : tox -e unittests
36+
37+ lint :
38+ runs-on : ubuntu-latest
39+ needs : build
40+ steps :
41+ - uses : actions/checkout@v4
42+ - uses : actions/setup-python@v5
43+ with :
44+ python-version : ' 3.10'
45+ - run : |
46+ pip install tox
47+ - name : Run linters
48+ run : tox -e lint || true
You can’t perform that action at this time.
0 commit comments