Add CI configuration
This commit is contained in:
parent
84de459f01
commit
b5302c08a4
1 changed files with 23 additions and 0 deletions
23
.github/workflows/maven.yml
vendored
Normal file
23
.github/workflows/maven.yml
vendored
Normal 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
|
Loading…
Reference in a new issue