mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 04:05:22 -08:00
Remove unnecessary quotes from yaml
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user