-
Andrew Kapuscinski authored
Added run-tests.sh script to each service to run our package tester to enable us to run unit tests from the cmdline and CI Refactored makefile's make test script to call run-tests.sh in each image
Andrew Kapuscinski authoredAdded run-tests.sh script to each service to run our package tester to enable us to run unit tests from the cmdline and CI Refactored makefile's make test script to call run-tests.sh in each image
unit-test.template.yml 306 B
.unit-test:
script:
- docker run ${REGISTRY_URL}/${PROJECT_NAME}/${SERVICE_NAME}:${CI_COMMIT_SHORT_SHA} ./bin/run-tests.sh
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: always
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always