Skip to content

Commit

Permalink
config: make pitest names more compact to show profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach committed Oct 22, 2022
1 parent 7159bb0 commit aad6891
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/pitest.yml
Expand Up @@ -7,40 +7,40 @@ on:
pull_request:

jobs:
pitest:
test:
strategy:
matrix:
profile:
- pitest-annotation
- pitest-ant
- pitest-api
- pitest-blocks
- pitest-coding-1
- pitest-coding-2
- pitest-coding-require-this-check
- pitest-common
- pitest-common-2
- pitest-design
- pitest-filters
- pitest-header
- pitest-imports
- pitest-indentation
- pitest-javadoc
- pitest-main
- pitest-metrics
- pitest-misc
- pitest-modifier
- pitest-naming
- pitest-packagenamesloader
- pitest-regexp
- pitest-sizes
- pitest-tree-walker
- pitest-utils
- pitest-whitespace
- pitest-xpath
- pitest-java-ast-visitor
- annotation
- ant
- api
- blocks
- coding-1
- coding-2
- coding-require-this-check
- common
- common-2
- design
- filters
- header
- imports
- indentation
- javadoc
- main
- metrics
- misc
- modifier
- naming
- packagenamesloader
- regexp
- sizes
- tree-walker
- utils
- whitespace
- xpath
- java-ast-visitor
# GUI package needs better test coverage before adding to execution.
# - pitest-gui
# - gui
runs-on: ubuntu-latest
continue-on-error: true
steps:
Expand All @@ -59,11 +59,11 @@ jobs:
uses: actions/checkout@v3
- name: Generate ${{ matrix.profile }} report
run: |
mvn -e --no-transfer-progress -P"${{ matrix.profile }}" clean test-compile \
mvn -e --no-transfer-progress -P"pitest-${{ matrix.profile }}" clean test-compile \
org.pitest:pitest-maven:mutationCoverage
- name: Check ${{ matrix.profile }} report
run: |
groovy ./.ci/pitest-survival-check-xml.groovy ${{ matrix.profile }}
groovy ./.ci/pitest-survival-check-xml.groovy pitest-${{ matrix.profile }}
- name: Stage results
if: failure() || github.ref == 'refs/heads/master'
run: |
Expand All @@ -72,6 +72,6 @@ jobs:
if: failure() || github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.profile }}-coverage-report
name: pitest-${{ matrix.profile }}-coverage-report
path: staging
retention-days: 7

0 comments on commit aad6891

Please sign in to comment.