Mutation Test #1
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: Mutation Test | |
# Runs manually | |
on: | |
workflow_dispatch | |
jobs: | |
pitest-report: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '17' | |
- name: Run pitest coverage | |
run: | | |
cd cli | |
mvn test-compile org.pitest:pitest-maven:mutationCoverage -DtargetClasses=com.devonfw.tools.ide* -DtargetTests=com.devonfw.tools.ide* | |
- name: Upload report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pit-report | |
path: cli/target/pit-reports |