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+ # Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
3+ name : scriptcheck
4+
5+ on : [push, pull_request]
6+
7+ jobs :
8+ build :
9+
10+ strategy :
11+ matrix :
12+ os : [ubuntu-latest]
13+ fail-fast : false # not worthwhile...
14+
15+ runs-on : ${{ matrix.os }}
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+
20+ - name : Install missing software on ubuntu
21+ if : matrix.os == 'ubuntu-latest'
22+ run : |
23+ sudo apt-get update
24+ sudo apt-get install shellcheck
25+ sudo apt-get install python3-setuptools
26+ sudo pip3 install natsort
27+ sudo pip3 install pexpect
28+ sudo pip3 install pylint
29+ sudo pip3 install unittest2
30+
31+ - name : run Shellcheck
32+ run : |
33+ find . -name "*.sh" | xargs shellcheck || true
34+
35+ - name : run pylint
36+ run : |
37+ pylint --rcfile=pylintrc_travis htmlreport/cppcheck-htmlreport
38+ pylint --rcfile=pylintrc_travis htmlreport/*.py
39+ pylint --rcfile=pylintrc_travis tools/*.py
40+
You can’t perform that action at this time.
0 commit comments