Skip to content

Commit da73340

Browse files
committed
add await
1 parent fc86f67 commit da73340

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/actions/test_coverage.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Test coverage"
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
jobs:
7+
coverage:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: ArtiomTr/jest-coverage-report-action@v2
12+
with:
13+
working-directory: ./query-connector
14+
test-script: npm run test:ci

.github/workflows/ci.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,14 @@ jobs:
6464
run: npm run test:ci
6565

6666
coverage:
67+
needs: integration-tests
6768
runs-on: ubuntu-latest
6869
steps:
6970
- uses: actions/checkout@v3
7071
- uses: ArtiomTr/jest-coverage-report-action@v2
7172
with:
7273
working-directory: ./query-connector
73-
coverage-file: ./query-connector/report.json
74+
coverage-file: report.json
7475
skip-step: all
7576

7677
end-to-end-tests:

0 commit comments

Comments
 (0)