Skip to content

Commit

Permalink
Fix failing everest test due to doc not generating cov
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Dec 4, 2024
1 parent 11fbe80 commit dcf5632
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_everest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
python -m everest.docs
- name: Upload coverage to Codecov
if: inputs.test-type != 'everest-docs-entry-test'
if: inputs.test-type != 'everest-docs-entry-test' && inputs.test-type != 'doc'
id: codecov1
uses: codecov/codecov-action@v4
continue-on-error: true
Expand All @@ -86,20 +86,20 @@ jobs:
files: cov1.xml,cov2.xml
flags: ${{ inputs.test-type }}
- name: codecov retry sleep
if: steps.codecov1.outcome == 'failure' && inputs.test-type != 'everest-docs-entry-test'
if: steps.codecov1.outcome == 'failure' && inputs.test-type != 'everest-docs-entry-test' && inputs.test-type != 'doc'
run: |
sleep 30
- name: Codecov retry
uses: codecov/codecov-action@v4
if: steps.codecov1.outcome == 'failure' && inputs.test-type != 'everest-docs-entry-test'
if: steps.codecov1.outcome == 'failure' && inputs.test-type != 'everest-docs-entry-test' && inputs.test-type != 'doc'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: cov1.xml,cov2.xml
flags: ${{ inputs.test-type }}
fail_ci_if_error: ${{ github.ref == 'refs/heads/main' }}

- name: Upload test results to Codecov
if: ${{ !cancelled() && inputs.test-type != 'everest-docs-entry-test' }}
if: ${{ !cancelled() && inputs.test-type != 'everest-docs-entry-test' && inputs.test-type != 'doc' }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit dcf5632

Please sign in to comment.