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:
|
stages:
|
||||||
|
- test
|
||||||
- build
|
- build
|
||||||
# - test
|
|
||||||
|
|
||||||
build:
|
img: &img
|
||||||
stage: build
|
|
||||||
image: openjdk:22-jdk-slim
|
image: openjdk:22-jdk-slim
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update && apt-get -qqy upgrade
|
- apt-get update && apt-get -qqy upgrade
|
||||||
|
|
||||||
|
test:
|
||||||
|
<<: *img
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- ./gradlew test
|
||||||
|
|
||||||
|
build:
|
||||||
|
<<: *img
|
||||||
|
stage: build
|
||||||
script:
|
script:
|
||||||
- ./gradlew clean build -Pvaadin.productionMode
|
- ./gradlew clean build -Pvaadin.productionMode
|
||||||
after_script:
|
after_script:
|
||||||
echo "_____________end_________________"
|
echo "_____________end_________________"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue