mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 22:37:09 +01:00
feat(ci) adding running 5 reporters
This commit is contained in:
parent
86a2010147
commit
b6a806a5fb
1 changed files with 39 additions and 0 deletions
39
.github/workflows/test-all-reports.yml
vendored
Normal file
39
.github/workflows/test-all-reports.yml
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
name: Test Report
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore: [ '**.md' ]
|
||||
push:
|
||||
paths-ignore: [ '**.md' ]
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
reports:
|
||||
strategy:
|
||||
matrix:
|
||||
reporter: [ jest-junit, mocha-json, swift-xunit, dart-json, dotnet-trx ]
|
||||
include:
|
||||
- reporter: jest-junit
|
||||
path: __tests__/fixtures/jest-junit.xml
|
||||
- reporter: mocha-json
|
||||
path: __tests__/fixtures/mocha-json.json
|
||||
- reporter: swift-xunit
|
||||
path: __tests__/fixtures/swift-xunit.xml
|
||||
- reporter: dart-json
|
||||
path: __tests__/fixtures/dart-json.json
|
||||
- reporter: dotnet-trx
|
||||
path: __tests__/fixtures/dotnet-trx.xml
|
||||
name: Workflow test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
artifact: ${{ matrix.reporter }}
|
||||
name: ${{ matrix.reporter }}
|
||||
path: ${{ matrix.path }}
|
||||
reporter: ${{ matrix.reporter }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue