File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ skips :
2+ - B101
Original file line number Diff line number Diff line change 1+ name : Checks
2+ on : [push, pull_request]
3+
4+ jobs :
5+ checks :
6+ runs-on : ubuntu-latest
7+ strategy :
8+ matrix :
9+ include :
10+ - python-version : 3
11+ env :
12+ TOXENV : security
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v2
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+
22+ - name : Run check
23+ env : ${{ matrix.env }}
24+ run : |
25+ pip install -U pip
26+ pip install -U tox
27+ tox
Original file line number Diff line number Diff line change 11[tox]
2- envlist = py
2+ envlist = security, py
33
44[testenv]
55deps =
66 -r tests/requirements.txt
77
88commands =
99 py.test --cov-report term --cov =cssselect
10+
11+ [testenv:security]
12+ deps =
13+ bandit
14+ commands =
15+ bandit -r -c .bandit.yml {posargs:cssselect}
You can’t perform that action at this time.
0 commit comments