Further try to run Test only in CI

This commit is contained in:
Mirco 2024-07-08 12:29:32 +02:00
parent 716d241689
commit 04a7b3c834

View file

@ -1,6 +1,6 @@
stages: stages:
# - build_and_test # - build_and_test
# - build # - build_native_image
- test - test
# - package # - package
# - security # - security
@ -56,15 +56,15 @@ stages:
# - pyb image # - pyb image
test: test:
image: "domaindrivenarchitecture/ddadevops-python:latest" #image: "domaindrivenarchitecture/ddadevops-python:latest"
<<: *img <<: *img
#<<: *tag_only #<<: *tag_only
stage: test stage: test
needs: [] needs: []
script: script:
- apt-get update - apk -U upgrade
- apt-get -qqy upgrade - apk add --no-cache python3 py3-pip openjdk17-jdk
- apt-get install openjdk-17-jdk - pip3 install --break-system-packages pybuilder ddadevops
- ./gradlew clean build -Pvaadin.productionMode - ./gradlew clean build -Pvaadin.productionMode
- pyb test - pyb test