Skip to content

Commit

Permalink
Remove unnecessary quotes from yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Dorner committed Feb 1, 2021
1 parent 30b8c3e commit 60d8992
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build-test:
name: 'Build & Test'
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -19,10 +19,10 @@ jobs:
- run: npm run format-check
- run: npm run lint
- run: npm test
- name: 'Evaluate test results'
if: always()
- name: Create test report
if: success() || failure()
uses: ./
with:
name: 'JEST Tests'
path: '__tests__/__results__/*.xml'
reporter: 'jest-junit'
name: JEST Tests
path: __tests__/__results__/*.xml
reporter: jest-junit
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ Please create [Issue](https://github.com/dorny/test-reporter/issues/new) or cont
```yaml
jobs:
build-test:
name: 'Build & Test'
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # checkout the repo
- run: npm ci # install packages
- run: npm test # run tests (configured to use jest-junit reporter)

- name: 'Test Report'
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: 'JEST Tests' # Name of the check run which will be created
path: 'reports/jest-*.xml' # Path to test report
reporter: 'jest-junit' # Format of test report
name: JEST Tests # Name of the check run which will be created
path: reports/jest-*.xml # Path to test report
reporter: jest-junit # Format of test report
```
## Usage
Expand Down

0 comments on commit 60d8992

Please sign in to comment.