Adding integration test #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ste's Apache BookKeeper CI | |
on: [push] | |
env: | |
TESTED_SUBPROJECT: bookkeeper-server | |
BADUAVER: 0.4.0 | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up java 21 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Build, test and determine control flow coverage | |
run: mvn -P adequacy-controlflow clean test | |
- name: Generate JaCoCo report | |
run: bash ste-ci-scripts/genjacocoreports.sh | |
- name: Copy JaCoCo report | |
run: bash ste-ci-scripts/aggacreports.sh | |
- name: Build, test and determine mutation score | |
run: mvn -P adequacy-mutation clean test org.pitest:pitest-maven:mutationCoverage | |
- name: Copy PIT report | |
run: bash ste-ci-scripts/aggacreports.sh | |
- name: Build, test and determine data flow coverage | |
run: bash ste-ci-scripts/all-dataflow.sh | |
- name: Copy ba-dua report | |
run: bash ste-ci-scripts/aggacreports.sh | |
- name: Run integration tests | |
run: mvn -DskipUnitTests=true clean verify | |
- name: Copy maven failsafe plugin report | |
run: bash ste-ci-scripts/aggacreports.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: adequacy-reports | |
path: ac-reports/ |