Skip to content

Commit

Permalink
chore: use upload test result action
Browse files Browse the repository at this point in the history
  • Loading branch information
larwaa committed Mar 21, 2024
1 parent 6122eb2 commit d423b3b
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,18 @@ jobs:

- name: Upload Coverage
uses: codecov/codecov-action@v4
if: always()
if: ${{ !cancelled()}}
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage/unit
flags: unittests,node

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
file: integration-${{ matrix.shard }}.xml
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload Test Results
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -246,11 +253,18 @@ jobs:

- name: Upload Coverage
uses: codecov/codecov-action@v4
if: always()
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage/integration
flags: integrationtests,node

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
file: integration-${{ matrix.shard }}.xml
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload Test Results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d423b3b

Please sign in to comment.