Skip to content
Closed
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
39 changes: 39 additions & 0 deletions .github/workflows/test-server-mutation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ESDK TestServer mutation testing (Java)

on:
pull_request:
paths:
- "src/main/**"
- "pom.xml"
- "test-server/**"
- ".github/workflows/test-server-mutation.yml"
push:
branches:
- master
paths:
- "src/main/**"
- "pom.xml"
- "test-server/**"
- ".github/workflows/test-server-mutation.yml"
workflow_dispatch:

permissions:
contents: read

jobs:
# A pull request fails when a mutant on a library line it changes survives
# every shared Test that runs that line. A push to master mutates the whole library.
mutation:
name: Mutation
permissions:
contents: read
id-token: write
pull-requests: read
uses: aws/aws-crypto-tools-commons/.github/workflows/mutation-java-reusable.yml@lucmcdon/test-server-mutation-java
with:
product: esdk
library: esdk
commons-ref: lucmcdon/test-server-mutation-java
aws-role-arn: arn:aws:iam::370957321024:role/esdk-test-server-ci-kms-role
secrets:
repo-pat: ${{ secrets.COMMONS_REPO_PAT }}
Loading