From 5dfaf7008ce531d8afecbe34644509fd4652f0d1 Mon Sep 17 00:00:00 2001 From: Vincent Gao Date: Mon, 22 Jul 2024 23:39:07 +1000 Subject: [PATCH] test --- .circleci/code_coverage.sh | 7 +++++++ .github/workflows/build.yml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100755 .circleci/code_coverage.sh 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