Repository navigation
feat: summarize integration test results and upload the reports #2
Workflow file for this run
This file contains hidden or 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: Test PHPUnit report action | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/_internal-phpunit-report.yaml" | |
| - "phpunit-report/**" | |
| - "!(**/*.md)" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/_internal-phpunit-report.yaml" | |
| - "phpunit-report/**" | |
| - "!(**/*.md)" | |
| jobs: | |
| phpunit-report: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run the report script's tests | |
| run: python3 -m unittest discover -s phpunit-report/test -v | |
| - name: Summarize the test fixtures | |
| uses: ./phpunit-report | |
| with: | |
| path: phpunit-report/test/fixtures | |
| title: PHPUnit report of the test fixtures |