Skip to content
Snippets Groups Projects
Commit 7d4eb03d authored by LABOUREL Arnaud's avatar LABOUREL Arnaud
Browse files

Changed gitlaci config

parent 8cdab931
No related branches found
No related tags found
No related merge requests found
Pipeline #8724 failed
image: gradle:jdk16
image: openjdk:17-alpine
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
......@@ -8,11 +11,31 @@ cache:
- .gradle/wrapper
- .gradle/caches
java:
stages:
- build
- run
- test
build:
stage: build
script: ./gradlew --build-cache assemble
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .gradle
test:
stage: test
script:
- gradle test
script: ./gradlew test
artifacts:
when: always
reports:
junit: build/test-results/test/**/TEST-*.xml
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- build
- .gradle
\ No newline at end of file
......@@ -2,7 +2,7 @@
## Description du projet
Dans cette planche de TP, vous allez implémenter des classes pour simuler un réseau régulation de gènes.
Pour ce projet, vous allez implémenter des classes pour simuler un réseau régulation de gènes.
## Membre du projet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment