Skip to content

Commit

Permalink
Merge pull request #17 from Alamvic/newmutations
Browse files Browse the repository at this point in the history
Try new reusable mutation workflow
  • Loading branch information
guillep authored Jul 5, 2024
2 parents 7f7328c + c13dfb7 commit 7321bfa
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions .github/workflows/mutalkCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,4 @@ on:
- 'resources/**'

jobs:
mutation_testing:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: hpi-swa/setup-smalltalkCI@v1
id: smalltalkci
with:
smalltalk-image: Pharo64-stable

- run: smalltalkci -s ${{ steps.smalltalkci.outputs.smalltalk-image }}
shell: bash
timeout-minutes: 15

- run: ${{env.SMALLTALK_CI_VM}} ${{env.SMALLTALK_CI_IMAGE}} metacello install "github://pharo-contributions/mutalk/src" BaselineOfMuTalk
shell: bash

- run: ${{env.SMALLTALK_CI_VM}} ${{env.SMALLTALK_CI_IMAGE}} mutalk --project=${{github.event.repository.name}}
shell: bash

- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: mut_report
filePath: "${{env.SMALLTALK_CI_BUILD_BASE}}/__mutalk_summary.md"

- run: cp ${{env.SMALLTALK_CI_BUILD_BASE}}/__mutalk_summary.md $GITHUB_STEP_SUMMARY

- uses: actions/upload-artifact@v4
with:
name: mutation-testing-output
path: ${{env.SMALLTALK_CI_BUILD_BASE}}/__mutalk_export.json
uses: pharo-contributions/mutalk/.github/workflows/mutalk-workflow.yml

0 comments on commit 7321bfa

Please sign in to comment.