Extend build job with a code check with black
This commit is contained in:
parent
2d0ee1a69e
commit
272d6d269f
@ -8,6 +8,7 @@ image: archlinux
|
|||||||
arch: x86_64
|
arch: x86_64
|
||||||
packages:
|
packages:
|
||||||
- python3
|
- python3
|
||||||
|
- python-black
|
||||||
- python-virtualenv
|
- python-virtualenv
|
||||||
- git
|
- git
|
||||||
- xorg-server-xvfb
|
- xorg-server-xvfb
|
||||||
@ -26,6 +27,9 @@ tasks:
|
|||||||
- setup_venv: |
|
- setup_venv: |
|
||||||
cd OOMAnalyser
|
cd OOMAnalyser
|
||||||
make venv
|
make venv
|
||||||
|
- check_code_with_black: |
|
||||||
|
cd OOMAnalyser
|
||||||
|
make black-check
|
||||||
- build: |
|
- build: |
|
||||||
cd OOMAnalyser
|
cd OOMAnalyser
|
||||||
make build
|
make build
|
||||||
|
Loading…
Reference in New Issue
Block a user