mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Make CI fail on black/pylint failure, but not change files
This commit is contained in:
@@ -12,15 +12,10 @@ install:
|
||||
- pip3 install -r requirements.txt
|
||||
before_script:
|
||||
- pip3 install -r ./tests/requirements_dev.txt
|
||||
- pip3 install anybadge
|
||||
- . ./tests/ci_git_prep.sh
|
||||
- black hyperglass
|
||||
- python3 ./manage.py pylint-badge --integer-only True
|
||||
- . ./tests/ci_git_commit.sh
|
||||
- black --check hyperglass
|
||||
- python3 ./manage.py pylint-check --integer-only True
|
||||
- python3 ./tests/ci_prepare.py
|
||||
script:
|
||||
- nohup python3 ./tests/ci_dev_server.py &
|
||||
- sleep 20
|
||||
- python3 ./tests/ci_test.py
|
||||
after_success:
|
||||
- . ./tests/ci_git_push.sh
|
||||
|
Reference in New Issue
Block a user