Skip to content

Commit

Permalink
ci(test): fix problem with coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Jun 24, 2022
1 parent d7ce91e commit bb909ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -36,6 +36,12 @@ jobs:
- name: Run test with coverage
run: npm run coverage

# Fixes problem with incorrect SF paths. See https://github.com/coverallsapp/github-action/issues/125
- name: Update lcov.info
run: |
sed -E "s/SF:(.+file:(.+))/SF:\2/g" ./coverage/lcov.info > coverage/lcov.new.info
mv ./coverage/lcov.new.info ./coverage/lcov.info
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down

0 comments on commit bb909ce

Please sign in to comment.