Skip to content

Commit

Permalink
ci: add base-path parameter to Coveralls (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellolsthoorn committed Mar 22, 2023
1 parent cab834f commit 91bd830
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
- tools/init

steps:
# Cloning
- uses: actions/checkout@v3

# Download test results
- uses: actions/download-artifact@v3
with:
Expand All @@ -84,7 +87,8 @@ jobs:
# We collect all coverages in parallel
parallel: true
flag-name: ${{ matrix.package }}
path-to-lcov: ${{ github.workspace }}/${{ matrix.package }}/coverage/lcov.info
base-path: ${{ matrix.package }}/
path-to-lcov: ${{ matrix.package }}/coverage/lcov.info

# Indicate sending coverage to Coveralls is finished
coverage-finished:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ jobs:
- tools/init

steps:
# Cloning
- uses: actions/checkout@v3

# Download test results
- uses: actions/download-artifact@v3
with:
Expand All @@ -119,7 +122,8 @@ jobs:
# We collect all coverages in parallel
parallel: true
flag-name: ${{ matrix.package }}
path-to-lcov: ${{ github.workspace }}/${{ matrix.package }}/coverage/lcov.info
base-path: ${{ matrix.package }}/
path-to-lcov: ${{ matrix.package }}/coverage/lcov.info

# Indicate sending coverage to Coveralls is finished
coverage-finished:
Expand Down

0 comments on commit 91bd830

Please sign in to comment.