forked from meissa/ModeratorElection
work with img section in ci, test stage added
This commit is contained in:
parent
6c0ef48a9d
commit
bdcbc3ebdc
1 changed files with 13 additions and 3 deletions
|
@ -1,14 +1,24 @@
|
|||
stages:
|
||||
- test
|
||||
- build
|
||||
# - test
|
||||
|
||||
build:
|
||||
stage: build
|
||||
img: &img
|
||||
image: openjdk:22-jdk-slim
|
||||
before_script:
|
||||
- apt-get update && apt-get -qqy upgrade
|
||||
|
||||
test:
|
||||
<<: *img
|
||||
stage: test
|
||||
script:
|
||||
- ./gradlew test
|
||||
|
||||
build:
|
||||
<<: *img
|
||||
stage: build
|
||||
script:
|
||||
- ./gradlew clean build -Pvaadin.productionMode
|
||||
after_script:
|
||||
echo "_____________end_________________"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue