Skip to content

Commit

Permalink
Send coverage to Coveralls
Browse files Browse the repository at this point in the history
When updating CI we missed this step. We are not sure anyone actually
uses the Coveralls data, but we where sending it so should continue to.

To get the report, we copy out of the container.
  • Loading branch information
mec committed Nov 21, 2024
1 parent 4456bc3 commit 941b9c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ jobs:
run: |
docker compose -p app_test -f docker-compose.ci.yml \
run --name app_test test /bin/bash -c "bin/rspec --format=documentation"
-
name: Copy coverage report from container
run:
docker cp app_test:/srv/app/coverage/lcov.info coverage/lcov.info
-
name: Shutdown containers
run: docker compose -p app_test down && docker compose -p app_test rm
-
name: Send coverage report to Coveralls
uses: coverallsapp/github-action@v2
with:
file: ./coverage/lcov.info
fail-on-error: false

0 comments on commit 941b9c5

Please sign in to comment.