Extend build job with a code check with black

This commit is contained in:
Carsten Grohmann 2022-11-11 20:45:25 +01:00
parent 2d0ee1a69e
commit 272d6d269f

View File

@ -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