Skip to content

Commit

Permalink
Move both main-only steps last in coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Oct 18, 2023
1 parent 42f776b commit 5d447bf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ jobs:
done
sed "s/{shortcommit}/${GITHUB_SHA:0:8}/g;s/{commit}/${GITHUB_SHA}/g;s#{repo}#${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}#g" .github/workflows/coverage/index.html.template > build/gh-pages/index.html
- name: Create coverage badge
# This creates a file that defines a [Shields.io endpoint badge](https://shields.io/endpoint)
# which we can then include in the project README.
uses: ./.github/actions/pit-results-badge
if: github.ref_name == 'main'
with:
output-file: build/gh-pages/coverage-badge.json

- name: Check out GitHub Pages branch
uses: actions/checkout@v4
with:
Expand All @@ -71,6 +63,14 @@ jobs:
prev-commit: ${{ env.PREV_COMMIT }}
prev-mutations-file: prev-mutations.xml

- name: Create coverage badge
# This creates a file that defines a [Shields.io endpoint badge](https://shields.io/endpoint)
# which we can then include in the project README.
uses: ./.github/actions/pit-results-badge
if: github.ref_name == 'main'
with:
output-file: build/gh-pages/coverage-badge.json

- name: Push to GitHub Pages
if: github.ref_name == 'main'
run: |
Expand Down

1 comment on commit 5d447bf

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mutation test results

Package Coverage Stats Prev Prev
Overall 81 % 🔹 1286 🔺 / 1573 🔹 81 % 1284 / 1573
com.yubico.fido.metadata 68 % 🔹 222 🔺 / 323 🔹 68 % 221 / 323
com.yubico.internal.util 47 % 🔹 57 🔹 / 120 🔹 47 % 57 / 120
com.yubico.webauthn 88 % 🔹 572 🔹 / 646 🔹 88 % 572 / 646
com.yubico.webauthn.attestation 92 % 🔹 13 🔹 / 14 🔹 92 % 13 / 14
com.yubico.webauthn.data 93 % 🔹 397 🔺 / 423 🔹 93 % 396 / 423
com.yubico.webauthn.extension.appid 100 % 🏆 13 🔹 / 13 🔹 100 % 13 / 13
com.yubico.webauthn.extension.uvm 50 % 🔹 12 🔹 / 24 🔹 50 % 12 / 24
com.yubico.webauthn.meta 0 % 🔹 0 🔹 / 10 🔹 0 % 0 / 10

Previous run: 860c88a - Diff

Detailed reports: workflow run #244

Please sign in to comment.