File tree 2 files changed +21
-1
lines changed
2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 61
61
- name : Upload coverage to Codecov
62
62
uses : codecov/codecov-action@v4
63
63
64
+ - name : Test in concurrent mode
65
+ run : CONCURRENT_MODE=1 yarn test:ci
66
+
67
+ test-concurrent :
68
+ needs : [install-cache-deps]
69
+ runs-on : ubuntu-latest
70
+ name : Test
71
+ steps :
72
+ - name : Checkout
73
+ uses : actions/checkout@v4
74
+
75
+ - name : Setup Node.js and deps
76
+ uses : ./.github/actions/setup-deps
77
+
78
+ - name : Test in concurrent mode
79
+ run : CONCURRENT_MODE=1 yarn test:ci
80
+
64
81
test-website :
65
82
runs-on : ubuntu-latest
66
83
name : Test Website
Original file line number Diff line number Diff line change 1
- import { resetToDefaults } from './src/pure' ;
1
+ import { resetToDefaults , configure } from './src/pure' ;
2
2
import './src/matchers/extend-expect' ;
3
3
4
4
beforeEach ( ( ) => {
5
5
resetToDefaults ( ) ;
6
+ if ( process . env . CONCURRENT_MODE === '1' ) {
7
+ configure ( { concurrentRoot : true } ) ;
8
+ }
6
9
} ) ;
You can’t perform that action at this time.
0 commit comments