merge master 18/12

This commit is contained in:
skferrei 2024-12-18 17:26:06 +01:00
commit 88e707c859
4 changed files with 31 additions and 21 deletions

View file

@ -1,21 +0,0 @@
image: maven:3.8.3-openjdk-17
services:
- mysql:8.0
variables:
MYSQL_DATABASE: projet_gei_023
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: user
MYSQL_PASSWORD: ohQu4ood
MYSQL_HOST: mysql
stages:
- test
test:
stage: test
script:
- mvn test
only:
- master

15
.github/workflows/.gitlab-ci.yml vendored Normal file
View file

@ -0,0 +1,15 @@
workflow:
rules:
- if: $CI_COMMIT_BRANCH
test:
image: maven:3.8.3-openjdk-11
script:
- 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"
artifacts:
reports:
junit: target/surefire-reports/*.xml

15
.github/workflows/maven.yml vendored Normal file
View file

@ -0,0 +1,15 @@
workflow:
rules:
- if: $CI_COMMIT_BRANCH
test:
image: maven:3.8.3-openjdk-11
script:
- 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"
artifacts:
reports:
junit: target/surefire-reports/*.xml

1
.gitlab-ci.yml Normal file
View file

@ -0,0 +1 @@
image: maven:3.8.3-openjdk-11 test: script: - 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"