diff --git a/.github/workflows/.gitlab-ci.yml b/.github/workflows/.gitlab-ci.yml new file mode 100644 index 0000000..1d08731 --- /dev/null +++ b/.github/workflows/.gitlab-ci.yml @@ -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 \ No newline at end of file