diff --git a/.github/workflows/poodle-mutation-test.yml b/.github/workflows/poodle-mutation-test.yml index e26912b..0ba674a 100644 --- a/.github/workflows/poodle-mutation-test.yml +++ b/.github/workflows/poodle-mutation-test.yml @@ -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 @@ -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" \ No newline at end of file diff --git a/.github/workflows/update-coverage.yml b/.github/workflows/update-coverage.yml index 5aea1cc..5852479 100644 --- a/.github/workflows/update-coverage.yml +++ b/.github/workflows/update-coverage.yml @@ -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