Skip to content

Commit 200e2e5

Browse files
committed
ci: timeout and filter cleanup
1 parent 2cb470c commit 200e2e5

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/development.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: git diff --exit-code
6767

6868
- name: Run tests
69-
if: matrix.node != '12' && matrix.os != 'ubuntu-latest'
69+
if: matrix.node != '12' || matrix.os != 'ubuntu-latest'
7070
uses: nick-invision/retry@v2
7171
with:
7272
timeout_minutes: 20

.github/workflows/production.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,7 @@ jobs:
6666
run: git diff --exit-code
6767

6868
- name: Run tests
69-
if: matrix.node != '12' && matrix.os != 'ubuntu-latest'
70-
run: npm run test
71-
72-
- name: Run tests
73-
if: matrix.node != '12' && matrix.os != 'ubuntu-latest'
69+
if: matrix.node != '12' || matrix.os != 'ubuntu-latest'
7470
uses: nick-invision/retry@v2
7571
with:
7672
timeout_minutes: 20

jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ module.exports = {
22
coverageDirectory: 'coverage',
33
coverageProvider: 'v8',
44
coverageReporters: ['json', 'text'],
5+
testTimeout: 30000,
56
}

0 commit comments

Comments
 (0)