Skip to content

feat: summarize integration test results and upload the reports #2

feat: summarize integration test results and upload the reports

feat: summarize integration test results and upload the reports #2

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