Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/pr-mutation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PR Mutation Test

on:
pull_request:
branches:
- main

permissions:
contents: read

jobs:
mutation:
runs-on: macos-26

steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install Muter
run: brew install muter-mutation-testing/formulae/muter

- name: Run mutation tests
run: muter run --skip-coverage --format json

- name: Upload mutation test report
if: always()
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: muter-report
path: muterReport.json
if-no-files-found: warn
11 changes: 11 additions & 0 deletions muter.conf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
executable: /usr/bin/xcodebuild
arguments:
- -project
- clearancekit.xcodeproj
- -scheme
- clearancekitTests
- -destination
- platform=macOS
- test
exclude:
- clearancekit
Loading