Skip to content

Commit

Permalink
[actions] Add ability to annotate ignored failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Townsend committed Apr 8, 2024
1 parent 6575aa6 commit 50e6b6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ jobs:
- name: Measure coverage
if: ${{ matrix.build-type == 'Coverage' }}
id: measure-coverage
continue-on-error: true
timeout-minutes: 5
run: |
Expand Down Expand Up @@ -205,6 +206,13 @@ jobs:
cmake --build /root/parts/multipass/build --target covreport
bash <(curl -s https://codecov.io/bash) -Z -s ${{ steps.coverage-setup.outputs.build }}
- uses: mainmatter/continue-on-error-comment@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
outcome: ${{ steps.measure-coverage.outcome }}
test-id: Error with ${{ steps.measure-coverage.name }} step in ${{ matrix.build-type }} build
bot-user: multipass-ci-bot

- name: Build and verify the snap
id: build-snap
if: ${{ matrix.build-type == 'Release' }}
Expand Down

0 comments on commit 50e6b6b

Please sign in to comment.