This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
test for github code coverage #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: push | |
jobs: | |
set_status_in_progress: | |
name: set_status_in_progress | |
if: always() | |
uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main | |
secrets: inherit | |
with: | |
context: 'tide_build' | |
description: 'Tide Build running...' | |
state: 'pending' | |
target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }} | |
tide_build: | |
name: tide_build | |
secrets: inherit | |
uses: dpc-sdp/github-actions/.github/workflows/tide_build.yml@main | |
with: | |
module_build: true | |
runner: biggy-tide | |
phpunit_coverage: | |
name: phpunit_coverage | |
needs: tide_build | |
runs-on: biggy-tide | |
steps: | |
- name: Change to project directory | |
run: cd $GITHUB_WORKSPACE | |
- name: Debug information | |
run: | | |
pwd | |
ls -la | |
ls -la dpc-sdp | |
which phpunit | |
which phpdbg | |
phpunit --version | |
- name: Run PHPUnit with coverage using phpdbg | |
run: | | |
phpdbg -qrr /app/vendor/bin/phpunit /app/dpc-sdp --coverage-html /app/phpunit/coverage-report | |
export_config: | |
name: export_config | |
secrets: inherit | |
uses: dpc-sdp/github-actions/.github/workflows/export_config.yml@main | |
set_status: | |
name: set_status | |
needs: [tide_build] | |
if: always() | |
uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main | |
secrets: inherit | |
with: | |
context: 'tide_build' | |
description: 'Tide Build' | |
target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }} |