cic-internal-integration/apps/cic-eth/.gitlab-ci.yml

30 lines
623 B
YAML
Raw Normal View History

.cic_eth_variables:
variables:
APP_NAME: cic-eth
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile
.cic_eth_changes_target:
2021-02-01 18:12:51 +01:00
rules:
- changes:
- $CONTEXT/$APP_NAME/*
build-mr-cic-eth:
extends:
- .cic_eth_changes_target
- .py_build_merge_request
- .cic_eth_variables
2021-05-20 17:50:19 +02:00
variables:
PYTHONPATH=.
2021-05-20 16:59:19 +02:00
after_script:
2021-05-20 17:50:19 +02:00
- pip install -r test_requirements.txt
- pytest tests/unit/
- pytest tests/task/
- pytest tests/filters/
2021-02-01 18:12:51 +01:00
build-push-cic-eth:
2021-02-01 18:12:51 +01:00
extends:
- .py_build_push
- .cic_eth_variables