File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 23
23
yarn
24
24
- name : yarn build
25
25
run : yarn build
26
+ - name : Set start timestamp env var
27
+ run : echo "::set-env name=FIREBASE_CI_TEST_START_TIME::$(date +%s)"
26
28
- name : Run unit tests
27
- run : xvfb-run yarn test:ci
29
+ run : |
30
+ xvfb-run yarn test:ci
31
+ node scripts/print_test_logs.js
28
32
- name : Generate coverage file
29
33
run : yarn ci:coverage
30
34
- name : Run coverage
Original file line number Diff line number Diff line change 32
32
"release" : " ts-node-script scripts/release/cli.ts" ,
33
33
"pretest" : " node tools/pretest.js" ,
34
34
"test" : " lerna run --concurrency 4 --stream test" ,
35
- "test:ci" : " export FIREBASE_CI_TEST_START_TIME=$(date +%s); lerna run --concurrency 4 --stream test:ci; node scripts/print_test_logs.js " ,
35
+ "test:ci" : " lerna run --concurrency 4 --stream test:ci" ,
36
36
"test:release" : " lerna run --concurrency 4 --ignore @firebase/*-exp --ignore firebase-exp --stream test:ci" ,
37
37
"test:exp" : " lerna run --concurrency 4 --stream --scope @firebase/*-exp --scope firebase-exp test" ,
38
38
"pretest:coverage" : " mkdirp coverage" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ const LOGDIR = process.env.CI ? process.env.HOME : '/tmp';
22
22
const LOGFILE = path . join ( LOGDIR , 'firebase-ci-log.txt' ) ;
23
23
const SUMMARY_FILE = path . join ( LOGDIR , 'firebase-ci-summary.txt' ) ;
24
24
25
- const EXCESSIVE_RUN_TIME = 1000 * 60 * 60 ; // 1 hour
25
+ // const EXCESSIVE_RUN_TIME = 1000 * 60 * 60; // 1 hour
26
+ const EXCESSIVE_RUN_TIME = 1000 * 60 * 10 ; // 10 minutes, TEST
26
27
27
28
( async ( ) => {
28
29
const now = Date . now ( ) ;
You can’t perform that action at this time.
0 commit comments