NIAD-3153, -3154: putting the reverted changes for NIAD-3153 and NIAD-3154 back in place #1061
Workflow file for this run
This file contains hidden or 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 Testing | |
| on: | |
| pull_request: | |
| jobs: | |
| pitest: | |
| # Only run on PRs from the repo. PRs from forks will fail due to lack of permissions and | |
| # must use a two stage process | |
| if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout project | |
| uses: actions/checkout@v4 | |
| with: | |
| # important to set a fetch depth of 2. By default the checkout action make no history available | |
| fetch-depth: 2 | |
| - name: Setup Java JDK | |
| uses: actions/[email protected] | |
| with: | |
| distribution: 'temurin' | |
| java-version: 21 | |
| - name: run pitest | |
| working-directory: ./service | |
| run: ./gradlew pitest-github | |
| env: | |
| REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} |