-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (29 loc) · 1 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Run The Tests
on:
pull_request:
branches: [ mainline ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check Black format
run: |
docker run --rm -v $(pwd):/data cytopia/black --version
docker run --rm -v $(pwd):/data cytopia/black --check .
- name: Markdownlint check
run: |
docker run --rm -i -v $(pwd):/work tmknom/markdownlint --version
docker run --rm -i -v $(pwd):/work tmknom/markdownlint -i theme/ .
- name: Pylint check
run: |
docker run --rm -v $(pwd):/data cytopia/pylint --version
docker run --rm -v $(pwd):/data cytopia/pylint *.py
- name: Pydocstyle check
run: |
docker run --rm -v $(pwd):/data cytopia/pydocstyle --version
docker run --rm -v $(pwd):/data cytopia/pydocstyle .
- name: Bandit check
run: |
docker run --rm -v $(pwd):/data cytopia/bandit --version
docker run --rm -v $(pwd):/data cytopia/bandit -r /data