Add CI configuration
這個提交存在於:
父節點
84de459f01
當前提交
b5302c08a4
共有 1 個檔案被更改,包括 23 行新增 和 0 行删除
23
.github/workflows/maven.yml
vendored
一般檔案
23
.github/workflows/maven.yml
vendored
一般檔案
|
|
@ -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
|
||||||
載入中…
新增問題並參考