From 1426626d1523b1915293431329d09c368be67d3d Mon Sep 17 00:00:00 2001 From: elouali Date: Mon, 2 Dec 2024 17:17:09 +0100 Subject: [PATCH] Rename CI config file --- .github/workflows/.gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/.gitlab-ci.yml 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