feat(ci) adding running 5 reporters

This commit is contained in:
Julien Catania 2024-01-15 16:46:57 +01:00
parent b6a806a5fb
commit 487a312548

View file

@ -1,4 +1,4 @@
name: Test Report name: Run report
on: on:
pull_request: pull_request:
@ -18,19 +18,20 @@ jobs:
reporter: [ jest-junit, mocha-json, swift-xunit, dart-json, dotnet-trx ] reporter: [ jest-junit, mocha-json, swift-xunit, dart-json, dotnet-trx ]
include: include:
- reporter: jest-junit - reporter: jest-junit
path: __tests__/fixtures/jest-junit.xml path: ./__tests__/fixtures/jest-junit.xml
- reporter: mocha-json - reporter: mocha-json
path: __tests__/fixtures/mocha-json.json path: ./__tests__/fixtures/mocha-json.json
- reporter: swift-xunit - reporter: swift-xunit
path: __tests__/fixtures/swift-xunit.xml path: ./__tests__/fixtures/swift-xunit.xml
- reporter: dart-json - reporter: dart-json
path: __tests__/fixtures/dart-json.json path: ./__tests__/fixtures/dart-json.json
- reporter: dotnet-trx - reporter: dotnet-trx
path: __tests__/fixtures/dotnet-trx.xml path: ./__tests__/fixtures/dotnet-trx.xml
name: Workflow test name: Run
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ./ - uses: ./
with: with:
artifact: ${{ matrix.reporter }} artifact: ${{ matrix.reporter }}