2024-05-04 16:04:15 +02:00
|
|
|
name: 'test and coverage'
|
2024-05-04 11:27:59 +02:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
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
|
2024-05-04 16:04:15 +02:00
|
|
|
# prnumber: ${{ steps.findPr.outputs.number }}
|
2024-05-04 12:59:53 +02:00
|
|
|
custom-title: Coverage report for backend
|