diff --git a/.github/workflows/run_unit_tests.yaml b/.github/workflows/run_unit_tests.yaml new file mode 100644 index 0000000..eabebaf --- /dev/null +++ b/.github/workflows/run_unit_tests.yaml @@ -0,0 +1,37 @@ +name: Run Unit Tests + +run-name: ${{ github.actor {} is making a pull request + +on: + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Set up JDK 1.17 + uses: actions/setup-java@v2 + with: + java-version: '17' + distribution: 'adopt' + + - name: Build + run: mvn --batch-mode -DskipTests package + + - name: Test + run: mvn --batch-mode -Dmaven.test.failure.ignore=true test + + - name: Report + uses: dorny/test-reporter@v1 + if: always() + with: + name: Maven Tests + path: target/surefire-reports/*.xml + reporter: java-junit + fail-on-error: true diff --git a/pom.xml b/pom.xml index 9d8fc5f..b86f413 100644 --- a/pom.xml +++ b/pom.xml @@ -87,7 +87,7 @@ - raire-java + raire-java/pom-raire-service.xml diff --git a/raire-java b/raire-java index a2211bb..36f3175 160000 --- a/raire-java +++ b/raire-java @@ -1 +1 @@ -Subproject commit a2211bba7058f0d3716d48d78501a6d5e1242faa +Subproject commit 36f3175d1e2a10c0a221f57b3df8a6fe998e8d13