aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9c90e6437..28ebf2ca9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,6 +1,10 @@
1name: Test Suite 1name: Test Suite
2 2
3on: [push, pull_request] 3on:
4 push:
5 pull_request:
6 schedule:
7 - cron: '0 0 * * 1-5'
4 8
5jobs: 9jobs:
6 10
@@ -34,7 +38,6 @@ jobs:
34 env: 38 env:
35 PGUSER: peertube 39 PGUSER: peertube
36 PGHOST: localhost 40 PGHOST: localhost
37 DISABLE_HTTP_IMPORT_TESTS: true
38 NODE_PENDING_JOB_WAIT: 2000 41 NODE_PENDING_JOB_WAIT: 2000
39 42
40 steps: 43 steps:
@@ -68,6 +71,10 @@ jobs:
68 - name: Install dependencies 71 - name: Install dependencies
69 run: yarn install --frozen-lockfile 72 run: yarn install --frozen-lockfile
70 73
74 - name: Set videos import enabled env variable
75 if: github.event_name != 'schedule'
76 run: echo "::set-env name=DISABLE_HTTP_IMPORT_TESTS::true"
77
71 - name: Run Test 78 - name: Run Test
72 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }} 79 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
73 80