Merge branch 'master' of https://git.etud.insa-toulouse.fr/el-ouali/PDLA_24
This commit is contained in:
commit
54f0f30a04
1 changed files with 9 additions and 13 deletions
22
.github/workflows/maven.yml
vendored
22
.github/workflows/maven.yml
vendored
|
@ -1,19 +1,15 @@
|
|||
image: maven:3.8.3-openjdk-11
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- mvn compile
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
||||
test:
|
||||
stage: test
|
||||
image: maven:3.8.3-openjdk-11
|
||||
script:
|
||||
- mvn test
|
||||
- mvn clean test
|
||||
variables:
|
||||
DB_URL: "jdbc:mysql://srv-bdens.insa-toulouse.fr:3306/projet_gei_023"
|
||||
DB_USER: "projet_gei_023"
|
||||
DB_PASSWORD: "ohQu4ood"
|
||||
DB_PASSWORD: "ohQu4ood"
|
||||
artifacts:
|
||||
reports:
|
||||
junit: target/surefire-reports/*.xml
|
Loading…
Reference in a new issue