Skip to content

Commit

Permalink
⬆️ bump actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ctcpip committed Jan 23, 2025
1 parent 6af3652 commit 8c38d79
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ jobs:
fi
- name: Upload code coverage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: steps.list_env.outputs.nyc != ''
with:
name: coverage
name: coverage-${{ matrix.node-version }}-${{ github.run_id }}
path: ./coverage
retention-days: 1

Expand All @@ -222,14 +222,18 @@ jobs:
run: sudo apt-get -y install lcov

- name: Collect coverage reports
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage
path: ./coverage

- name: Debug coverage directory
run: find ./coverage -type f

- name: Merge coverage reports
shell: bash
run: find ./coverage -name lcov.info -exec printf '-a %q\n' {} \; | xargs lcov -o ./coverage/lcov.info
run: |
find ./coverage -name '*.lcov' -exec printf '-a %q\n' {} \; | \
xargs lcov --ignore-errors empty -o ./coverage/lcov.info
- name: Upload coverage report
uses: coverallsapp/github-action@master
Expand Down

0 comments on commit 8c38d79

Please sign in to comment.