NIAD-3234: adding tests to confirm the status of a transfer once it starts #697
Workflow file for this run
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 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 | |
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 }} |