mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: Run 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: Run
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run : ls -all ./__tests__/fixtures/
|
|
- uses: ./
|
|
with:
|
|
artifact: ${{ matrix.reporter }}
|
|
name: ${{ matrix.reporter }}
|
|
path: ${{ matrix.path }}
|
|
reporter: ${{ matrix.reporter }}
|