forked from meissa/ModeratorElection
Try to run Test only in CI
This commit is contained in:
parent
e1fa9d8c25
commit
716d241689
1 changed files with 15 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
stages:
|
||||
# - build_and_test
|
||||
- build
|
||||
# - test
|
||||
# - build
|
||||
- test
|
||||
# - package
|
||||
# - security
|
||||
# - upload
|
||||
|
@ -48,24 +48,29 @@ stages:
|
|||
when: never
|
||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||
|
||||
build-image:
|
||||
<<: *img
|
||||
#build-image:
|
||||
# <<: *img
|
||||
# <<: *tag_only
|
||||
stage: test
|
||||
script:
|
||||
- pyb image
|
||||
# stage: build
|
||||
# script:
|
||||
# - pyb image
|
||||
|
||||
test:
|
||||
image: "domaindrivenarchitecture/ddadevops-python:latest"
|
||||
#<<: *img
|
||||
<<: *img
|
||||
#<<: *tag_only
|
||||
stage: build
|
||||
stage: test
|
||||
needs: []
|
||||
script:
|
||||
- apt-get update
|
||||
- apt-get -qqy upgrade
|
||||
- apt-get install openjdk-17-jdk
|
||||
- ./gradlew clean build -Pvaadin.productionMode
|
||||
- pyb test
|
||||
|
||||
after_script:
|
||||
- echo "---------- End CI ----------"
|
||||
|
||||
#test-clj:
|
||||
# <<: *clj
|
||||
# stage: build_and_test
|
||||
|
|
Loading…
Reference in a new issue