Skip to content

Commit fa2f1f3

Browse files
committed
use E2E tests for coverage until integraiton tests are working offline again
1 parent 50b4838 commit fa2f1f3

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,14 @@ jobs:
2828
cache: 'npm'
2929
- run: npm ci
3030
- run: npm run lint:ci
31-
- run: DEBUG=replay* npm run coverage || echo 'Test run failed replay no longer is working with latest nano which uses node fetch'
32-
33-
- name: Coveralls
34-
uses: coverallsapp/github-action@master
35-
with:
36-
github-token: ${{ secrets.GITHUB_TOKEN }}
3731

3832
- name: Create local config for tests
3933
run: |
4034
echo 'module.exports = { usersDbConnection: { url: "http://localhost:5984" }};' > config/local.js
4135
36+
- name: Run Integration tests
37+
run: DEBUG=replay* npm run coverage || echo 'Test run failed replay no longer is working with latest nano which uses node fetch'
38+
4239
- name: Start docker compose services
4340
run: docker compose up -d && sleep 5
4441

@@ -51,8 +48,13 @@ jobs:
5148
SOURCE_URL: ${{ secrets.SOURCE_URL }}
5249
DEBUG: 'none'
5350

54-
- name: Run tests
55-
run: npm run test:deprecated
51+
- name: Run E2E tests
52+
run: REPLAY=bloody npm run coverage
5653
env:
5754
SOURCE_URL: ${{ secrets.SOURCE_URL }}
5855
DEBUG: 'none'
56+
57+
- name: Coveralls
58+
uses: coverallsapp/github-action@master
59+
with:
60+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)