mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
Merge branch 'features/add-step-summary-short-summary' of github.com:OlesGalatsan/test-reporter into features/add-step-summary-short-summary
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: success() || failure()
|
if: ${{ !cancelled() }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
|
|||||||
2
.github/workflows/manual-run.yml
vendored
2
.github/workflows/manual-run.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create test report
|
- name: Create test report
|
||||||
uses: ./
|
uses: ./
|
||||||
if: success() || failure()
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
name: JEST Tests
|
name: JEST Tests
|
||||||
path: __tests__/__results__/*.xml
|
path: __tests__/__results__/*.xml
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Test Report
|
- name: Test Report
|
||||||
uses: dorny/test-reporter@v2
|
uses: dorny/test-reporter@v2
|
||||||
if: success() || failure() # run this step even if previous step failed
|
if: ${{ !cancelled() }} # 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 results
|
path: reports/jest-*.xml # Path to test results
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
- 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)
|
||||||
- uses: actions/upload-artifact@v4 # upload test results
|
- uses: actions/upload-artifact@v4 # upload test results
|
||||||
if: success() || failure() # run this step even if previous step failed
|
if: ${{ !cancelled() }} # run this step even if previous step failed
|
||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
path: jest-junit.xml
|
path: jest-junit.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user