DISABLE_HTTP_IMPORT_TESTS on non scheduled tests
This commit is contained in:
parent
12e8547f07
commit
a613eea4c3
|
@ -1,6 +1,10 @@
|
||||||
name: Test Suite
|
name: Test Suite
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 1-5'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
@ -34,7 +38,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
PGUSER: peertube
|
PGUSER: peertube
|
||||||
PGHOST: localhost
|
PGHOST: localhost
|
||||||
DISABLE_HTTP_IMPORT_TESTS: true
|
|
||||||
NODE_PENDING_JOB_WAIT: 2000
|
NODE_PENDING_JOB_WAIT: 2000
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -68,6 +71,10 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Set videos import enabled env variable
|
||||||
|
if: github.event_name != 'schedule'
|
||||||
|
run: echo "::set-env name=DISABLE_HTTP_IMPORT_TESTS::true"
|
||||||
|
|
||||||
- name: Run Test
|
- name: Run Test
|
||||||
run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
|
run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue