add only
This commit is contained in:
parent
7b697ba99c
commit
4fc20cc880
|
|
@ -6,15 +6,17 @@ pre-commit:
|
||||||
stage: lint
|
stage: lint
|
||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
script:
|
|
||||||
- pre-commit run --all --show-diff-on-failure --verbose --color always
|
|
||||||
only:
|
only:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
|
script:
|
||||||
|
- pre-commit run --all --show-diff-on-failure --verbose --color always
|
||||||
|
|
||||||
pytest:
|
pytest:
|
||||||
stage: test
|
stage: test
|
||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
|
only:
|
||||||
|
- merge_requests
|
||||||
script:
|
script:
|
||||||
- python3 -m venv /.gitlab-ci-venv
|
- python3 -m venv /.gitlab-ci-venv
|
||||||
- source /.gitlab-ci-venv/bin/activate
|
- source /.gitlab-ci-venv/bin/activate
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user