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