Try to run Test only in CI

This commit is contained in:
Mirco 2024-07-08 12:17:24 +02:00
parent e1fa9d8c25
commit 716d241689

View file

@ -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
#<<: *tag_only
stage: test
script:
- pyb image
#build-image:
# <<: *img
# <<: *tag_only
# 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