ratrapage_T-WEB/.github/workflows/run_back_test.yml

19 lines
557 B
YAML
Raw Normal View History

name: Test and coverage
2024-05-04 11:27:59 +02:00
on:
pull_request:
branches:
- '*'
2024-05-03 19:55:28 +02:00
jobs:
2024-05-04 11:27:59 +02:00
coverage:
2024-05-03 19:55:28 +02:00
runs-on: ubuntu-latest
steps:
2024-05-04 11:27:59 +02:00
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2
2024-05-04 12:25:14 +02:00
with:
working-directory: Express/barAndCafe
2024-05-04 12:59:53 +02:00
test-script: npm run test
output: comment, report-markdown
prnumber: ${{ steps.findPr.outputs.number }}
custom-title: Coverage report for backend
github-token: ${{ secrets.PR_TOCKEN}}
annotations: none #disable annotation