diff --git a/.circleci/code_coverage.sh b/.circleci/code_coverage.sh new file mode 100755 index 0000000..d563495 --- /dev/null +++ b/.circleci/code_coverage.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +## +# Generate coverage report. +# +set -e +echo "==> Generate code coverage report" +ahoy cli "phpdbg -qrr vendor/bin/phpunit ./dpc-sdp --coverage-html /app/coverage-report" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45eee5e..2a99511 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: build on: push - + jobs: set_status_in_progress: name: set_status_in_progress @@ -16,7 +16,7 @@ jobs: tide_build: name: tide_build secrets: inherit - uses: dpc-sdp/github-actions/.github/workflows/tide_build.yml@main + uses: dpc-sdp/github-actions/.github/workflows/tide_build.yml@feature/add-phpunit-test-support with: module_build: true runner: biggy-tide