1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-02-04 05:27:55 +01:00

Remove unnecessary quotes from yaml

This commit is contained in:
Michal Dorner 2021-02-01 21:20:03 +01:00
parent 30b8c3e01b
commit 60d8992614
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
2 changed files with 11 additions and 11 deletions

View file

@ -10,7 +10,7 @@ on:
jobs: jobs:
build-test: build-test:
name: 'Build & Test' name: Build & Test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -19,10 +19,10 @@ jobs:
- run: npm run format-check - run: npm run format-check
- run: npm run lint - run: npm run lint
- run: npm test - run: npm test
- name: 'Evaluate test results' - name: Create test report
if: always() if: success() || failure()
uses: ./ uses: ./
with: with:
name: 'JEST Tests' name: JEST Tests
path: '__tests__/__results__/*.xml' path: __tests__/__results__/*.xml
reporter: 'jest-junit' reporter: jest-junit

View file

@ -28,20 +28,20 @@ Please create [Issue](https://github.com/dorny/test-reporter/issues/new) or cont
```yaml ```yaml
jobs: jobs:
build-test: build-test:
name: 'Build & Test' name: Build & Test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 # checkout the repo - uses: actions/checkout@v2 # checkout the repo
- run: npm ci # install packages - run: npm ci # install packages
- run: npm test # run tests (configured to use jest-junit reporter) - run: npm test # run tests (configured to use jest-junit reporter)
- name: 'Test Report' - name: Test Report
uses: dorny/test-reporter@v1 uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed if: success() || failure() # run this step even if previous step failed
with: with:
name: 'JEST Tests' # Name of the check run which will be created name: JEST Tests # Name of the check run which will be created
path: 'reports/jest-*.xml' # Path to test report path: reports/jest-*.xml # Path to test report
reporter: 'jest-junit' # Format of test report reporter: jest-junit # Format of test report
``` ```
## Usage ## Usage