File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
- name : Build the Site
1
+ name : Run The Tests
2
2
3
- # Controls when the action will run. Triggers the workflow on push or pull request
4
- # events but only for the mainline branch
5
3
on :
6
4
pull_request :
7
5
branches : [ mainline ]
8
6
9
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
10
7
jobs :
11
- # This workflow contains a single job called "build"
12
8
build :
13
- # The type of runner that the job will run on
14
9
runs-on : ubuntu-latest
15
- # container: pzelnip/codependentcodrbase:latest
16
- env :
17
- DOCKER_USERNAME : pzelnip
18
10
19
11
steps :
20
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21
12
- uses : actions/checkout@v2
22
13
23
14
- name : Check Black format
40
31
docker run --rm -v $(pwd):/data cytopia/pydocstyle --version
41
32
docker run --rm -v $(pwd):/data cytopia/pydocstyle .
42
33
34
+ bandit :
35
+ runs-on : ubuntu-latest
36
+
37
+ steps :
38
+ - uses : actions/checkout@v2
39
+
43
40
- name : Bandit check
44
41
run : |
45
42
echo "No official docker image yet, see https://github.com/PyCQA/bandit/issues/697"
46
43
echo "Also: https://github.com/cytopia/docker-pylint/issues/7"
47
44
docker run --rm -v $(pwd):/data -w /data pzelnip/codependentcodrbase:latest bandit --version
48
45
docker run --rm -v $(pwd):/data -w /data pzelnip/codependentcodrbase:latest bandit .
46
+ parallel echo ::: 1 2 3 4
You can’t perform that action at this time.
0 commit comments