forked from SlugScrum/Scrum_Tool
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 863 Bytes
/
coverage.yml
File metadata and controls
37 lines (32 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 'coverage'
on:
pull_request:
branches:
- master
- main
env:
CI: false # to not treat warnings as failures
jobs:
coverage:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: test
POSTGRES_USER: test
POSTGRES_DB: test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
working-directory: ./backend
test-script: npm test
annotations: failed-tests