Correct workflow test

This commit is contained in:
Reginald Bondoc
2022-12-20 01:13:13 +01:00
parent bd207dc65f
commit 113ec55681
2 changed files with 19 additions and 18 deletions

View File

@@ -1,8 +1,8 @@
name: 'Backend Test Report'
name: "Backend Test Report"
on:
workflow_run:
workflows: ['Check Backend Pull Request']
workflows: ["Check Backend Pull Request"]
types:
- completed
@@ -12,19 +12,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
- name: 📁 Download test results
uses: actions/download-artifact@v3
with:
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: jest-junit # Format of test results
- name: 📄 Publish test results
name: be-test-results
- name: 📋 Publish test results
uses: dorny/test-reporter@v1
with:
name: Test Results
artifact: be-test-results
path: reports/jest-*.xml
reporter: jest-junit
- uses: ArtiomTr/jest-coverage-report-action@v2
- name: 📋 Publish coverage
uses: ArtiomTr/jest-coverage-report-action@v2
id: coverage
with:
output: report-markdown
coverage-file: backend/coverage/report.json
coverage-file: coverage/report.json