File tree Expand file tree Collapse file tree 7 files changed +199
-188
lines changed Expand file tree Collapse file tree 7 files changed +199
-188
lines changed Original file line number Diff line number Diff line change 1+ name : flake8 lint
2+ on :
3+ push :
4+ pull_request :
5+
6+ jobs :
7+ flake8-lint :
8+ runs-on : ubuntu-20.04
9+ name : flake8 lint
10+ steps :
11+ - name : Setup python for flake8
12+ uses : actions/setup-python@v4
13+ with :
14+ python-version : " 3.8"
15+ - uses : actions/checkout@v3
16+ - name : Install tox
17+ run : python -m pip install tox
18+ - name : Setup flake8
19+ run : tox --notest -e flake8
20+ - name : Run flake8
21+ run : tox -e flake8
Original file line number Diff line number Diff line change 1+ name : test
2+ on :
3+ push :
4+ pull_request :
5+ schedule :
6+ - cron : " 0 8 * * *"
7+
8+ jobs :
9+ test :
10+ name : test ${{ matrix.py }} - ${{ matrix.netapi }} - ${{ matrix.salt }}
11+ runs-on : ubuntu-20.04
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ py :
16+ - " 3.7"
17+ - " 3.8"
18+ netapi :
19+ - " cherrypy"
20+ - " tornado"
21+ salt :
22+ - " v3004.2"
23+ - " v3005.1"
24+ - " master"
25+ steps :
26+ - name : Setup python for test ${{ matrix.py }}
27+ uses : actions/setup-python@v4
28+ with :
29+ python-version : ${{ matrix.py }}
30+ - uses : actions/checkout@v3
31+ - name : Install setuptools_scm
32+ run : python -m pip install setuptools_scm
33+ - name : Install tox
34+ run : python -m pip install tox
35+ - name : Install dependencies
36+ run : sudo apt update && sudo apt install -y libc6-dev libffi-dev gcc git openssh-server libzmq3-dev
37+ env :
38+ DEBIAN_FRONTEND : noninteractive
39+ - name : Setup tests
40+ run : tox --notest -e py${{ matrix.py }}-${{ matrix.netapi }}-${{ matrix.salt }}
41+ - name : Run tests
42+ run : tox -e py${{ matrix.py }}-${{ matrix.netapi }}-${{ matrix.salt }}
You can’t perform that action at this time.
0 commit comments