This commit is contained in:
Sylvain LE GAL 2022-06-03 12:52:28 +02:00
parent 7b697ba99c
commit 4fc20cc880

View File

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