1
0
mirror of https://github.com/pumpitupdev/pumptools.git synced 2024-11-28 00:20:47 +01:00

Include executing unit tests in gitlab ci pipeline

This commit is contained in:
icex2 2021-01-17 00:42:22 +01:00
parent d261a905b3
commit fc04ba5623

View File

@ -11,6 +11,7 @@ before_script:
stages:
- build
- test
- create-release-package
- releasetag
@ -28,12 +29,28 @@ build:
refs:
- master
test:
stage: test
dependencies:
- build
before_script:
- apk update && apk add make > /dev/null
script:
- make test-docker
artifacts:
name: "$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME"
paths:
- build
only:
refs:
- master
create-release-package:
stage: create-release-package
variables:
GIT_STRATEGY: none
dependencies:
- build
- test
before_script:
- apk update && apk add zip > /dev/null
script: