mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2024-11-28 08:20:53 +01:00
Include executing unit tests in gitlab ci pipeline
This commit is contained in:
parent
d261a905b3
commit
fc04ba5623
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user