ratrapage_T-WEB/.github/workflows/run_back_test.yml
Clement 4e5123b331
All checks were successful
Build Docker Image Front / run (pull_request) Successful in 22s
Build Docker Image Back / run (pull_request) Successful in 20s
JsDocs / coverage (pull_request) Successful in 21s
Test and coverage / coverage (pull_request) Successful in 1m2s
fix: env var for API test
2024-05-13 23:23:51 +02:00

21 lines
633 B
YAML

name: Test and coverage
on:
pull_request:
branches:
- '*'
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
working-directory: Express/barAndCafe
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
env:
OPEN_TRIP_MAPS_KEY: ${{ secrets.OPEN_TRIP_MAPS_KEY}}