Added double-click support #1591
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 | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
LANG: en_GB | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Set up Node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: '14.15.1' | |
cache: 'npm' | |
cache-dependency-path: report/report-ng/package-lock.json | |
- name: Run mutation testing | |
run: mvn -B -Paggregate -Dnode=system test org.pitest:pitest-maven:mutationCoverage package | |
- name: Save aggregated mutation report | |
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | |
with: | |
name: mutation_report | |
path: aggregator/target/pit-reports | |
- name: Save project mutation reports | |
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | |
if: ${{ failure() }} | |
with: | |
name: project_mutation_reports | |
path: '**/target/pit-reports' | |
publish: | |
permissions: | |
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo | |
needs: build | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
concurrency: pages_branch | |
steps: | |
- name: Checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
ref: pages | |
- name: Download | |
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 | |
with: | |
path: mutation/ingest | |
- name: Ingest | |
run: perl regen_index.pl $GITHUB_HEAD_REF >> $GITHUB_STEP_SUMMARY | |
- name: Commit | |
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 | |
with: | |
branch: pages |