Skip to content

Commit e5461e8

Browse files
committed
one more try?
1 parent da73340 commit e5461e8

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

.github/workflows/ci.yaml

+6-24
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
npm ci
3131
npm run lint
3232
33-
unit-tests:
33+
unit-and-integration-tests:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Checkout code
@@ -42,33 +42,15 @@ jobs:
4242
- name: Install dependencies
4343
working-directory: ./query-connector
4444
run: npm install
45-
- name: Run tests
46-
working-directory: ./query-connector
47-
run: npm run test:unit
4845

49-
integration-tests:
50-
runs-on: ubuntu-latest
51-
steps:
52-
- name: Checkout code
53-
uses: actions/checkout@v4
54-
- name: Set up Node.js
55-
uses: actions/setup-node@v4
56-
with:
57-
node-version: ${{env.NODE_VERSION}}
58-
- name: Install dependencies
59-
working-directory: ./query-connector
60-
run: npm install
61-
62-
- name: Run tests
46+
- name: Run unit and integration tests
6347
working-directory: ./query-connector
6448
run: npm run test:ci
6549

66-
coverage:
67-
needs: integration-tests
68-
runs-on: ubuntu-latest
69-
steps:
70-
- uses: actions/checkout@v3
71-
- uses: ArtiomTr/jest-coverage-report-action@v2
50+
- name: Report coverage
51+
uses: actions/checkout@v3
52+
- name: Setup reporting action
53+
uses: ArtiomTr/jest-coverage-report-action@v2
7254
with:
7355
working-directory: ./query-connector
7456
coverage-file: report.json

0 commit comments

Comments
 (0)