Skip to content

Commit

Permalink
Disable final codecov step on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Oct 25, 2024
1 parent 63c3ef7 commit cbfd4c5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:

# Upload the code coverage analysis results to codecov.io
- uses: alire-project/gnatcov-to-codecovio-action@main
if: matrix.os != 'macos-13'
# TODO: diagnose why it fails on macOS
with:
fail_ci_if_error: false # Don't fail the workflow if codecov.io failed
verbose: true
Expand All @@ -60,12 +62,6 @@ jobs:
# Run Alire publish assistant with the appropriate commit
alr publish ${{github.server_url}}/${{github.repository}} ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
- if: github.event_name == 'pull_request'
run: alr publish ${{github.server_url}}/${{github.repository}} ${{ github.event.pull_request.head.sha }}

- if: github.event_name == 'push'
run: alr publish ${{github.server_url}}/${{github.repository}} ${{ github.sha }}

# Save the path to the release manifest for the next step.
# This is a little trick to get around the fact that the actions/upload-release-asset doesn't allow globing pattern.
- name: Get Release Manifest PATH
Expand Down

0 comments on commit cbfd4c5

Please sign in to comment.