Add CI configuration

This commit is contained in:
Abderrahman El-Ouali 2024-12-02 16:59:36 +01:00
parent 84de459f01
commit b5302c08a4

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

@ -0,0 +1,23 @@
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Build and test
env:
DB_URL: jdbc:mysql://srv-bdens.insa-toulouse.fr:3306/projet_gei_023
DB_USER: projet_gei_023
DB_PASSWORD: ohQu4ood
run: mvn clean verify