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