aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index feb885378..a2f93ce3f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -22,13 +22,15 @@ jobs:
22 POSTGRES_HOST_AUTH_METHOD: trust 22 POSTGRES_HOST_AUTH_METHOD: trust
23 23
24 strategy: 24 strategy:
25 fail-fast: true 25 fail-fast: false
26 matrix: 26 matrix:
27 test_suite: [ misc, api-1, api-2, api-3, api-4, cli, lint ] 27 test_suite: [ misc, api-1, api-2, api-3, api-4, cli, lint ]
28 28
29 env: 29 env:
30 PGUSER: peertube 30 PGUSER: peertube
31 PGHOST: localhost 31 PGHOST: localhost
32 DISABLE_HTTP_IMPORT_TESTS: true
33 NODE_PENDING_JOB_WAIT: 2000
32 34
33 steps: 35 steps:
34 - uses: actions/checkout@v2 36 - uses: actions/checkout@v2
@@ -50,7 +52,9 @@ jobs:
50 - name: Cache Node.js modules 52 - name: Cache Node.js modules
51 uses: actions/cache@v2 53 uses: actions/cache@v2
52 with: 54 with:
53 path: ~/.cache/yarn 55 path: |
56 **/node_modules
57 ~/fixtures
54 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }} 58 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}
55 restore-keys: | 59 restore-keys: |
56 ${{ runner.OS }}-node- 60 ${{ runner.OS }}-node-
@@ -69,5 +73,5 @@ jobs:
69 uses: actions/upload-artifact@v2 73 uses: actions/upload-artifact@v2
70 if: failure() 74 if: failure()
71 with: 75 with:
72 name: test-storages 76 name: test-storages-${{ matrix.test_suite }}
73 path: test*/logs 77 path: test*/logs