Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-gao committed Dec 9, 2021
1 parent d2737da commit ff474b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/drupal_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ ahoy cli "/app/vendor/bin/phpunit"

echo "==> Run submodule tests"
ahoy cli "/app/vendor/bin/phpunit modules/tide_*"

echo "==> Generate coverage report"
ahoy cli "mkdir -p /app/coverage-report"
ahoy cli "mkdir -p /tmp/artifacts/coverage-report"
ahoy cli "phpdbg -qrr vendor/bin/phpunit --coverage-html /coverage-report"
docker cp $(docker-compose ps -q cli):/app/coverage-report /tmp/artifacts/coverage-report

0 comments on commit ff474b0

Please sign in to comment.