Skip to content

test: add test code

test: add test code #2

Workflow file for this run

name: Test Coverage Comment
on:
pull_request:
types: [opened, reopened,assigned,edited,review_requested]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Run tests
run: |
npx jest --coverage --coverageReporters json-summary
- name: Jest Coverage Comment
uses: MishaKav/jest-coverage-comment@main
with:
junitxml-title: Pulse Test Report
junitxml-path: ./junit.xml
junitxml-title: JUnit

Check failure on line 24 in .github/workflows/run_test.yml

View workflow run for this annotation

GitHub Actions / Test Coverage Comment

Invalid workflow file

The workflow is not valid. .github/workflows/run_test.yml (Line: 24, Col: 11): 'junitxml-title' is already defined