From a613eea4c3987f5a2fba729a24ecaf2373624194 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jul 2020 16:54:40 +0200 Subject: DISABLE_HTTP_IMPORT_TESTS on non scheduled tests --- .github/workflows/test.yml | 11 +++++++++-- 1 file 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 @@ name: Test Suite -on: [push, pull_request] +on: + push: + pull_request: + schedule: + - cron: '0 0 * * 1-5' jobs: @@ -34,7 +38,6 @@ jobs: env: PGUSER: peertube PGHOST: localhost - DISABLE_HTTP_IMPORT_TESTS: true NODE_PENDING_JOB_WAIT: 2000 steps: @@ -68,6 +71,10 @@ jobs: - name: Install dependencies 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 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }} -- cgit v1.2.3