Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
WiredNerd committed Dec 30, 2023
1 parent 973cf1d commit 5bd5e16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/poodle-mutation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Poodle Mutation Test
on:
workflow_dispatch:

# json is created and saved in update-coverage workflow
jobs:
poodle:
name: Mutation Test with Poodle
Expand All @@ -20,16 +21,10 @@ jobs:
- name: poodle
run: |
pytest --cov=src --cov-context=test
poodle --report json
poodle
- name: Upload Report HTML
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: Mutation testing report HTML
path: mutation_reports
- name: save-json-report
if: ${{ github.ref_name == 'main' }}
uses: EndBug/add-and-commit@v9
with:
add: "mutation-testing-report.json"
pull: "--rebase=true --autostash"
6 changes: 6 additions & 0 deletions .github/workflows/update-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jobs:
path: cov-html
- name: Poodle
run: poodle --report json || true
- name: Upload Report HTML
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: Mutation testing report HTML
path: mutation_reports
- name: save-json-report
if: ${{ github.ref_name == 'main' }}
uses: EndBug/add-and-commit@v9
Expand Down

0 comments on commit 5bd5e16

Please sign in to comment.