From b488ba1e26b803ac6c637e8b11bdd444ca4c803f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jul 2020 09:43:12 +0200 Subject: Don't rely on youtube for tests Use another import URL when possible, and disable import tests when we want to do a youtube import test --- .github/workflows/test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.github') 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: POSTGRES_HOST_AUTH_METHOD: trust strategy: - fail-fast: true + fail-fast: false matrix: test_suite: [ misc, api-1, api-2, api-3, api-4, cli, lint ] env: PGUSER: peertube PGHOST: localhost + DISABLE_HTTP_IMPORT_TESTS: true + NODE_PENDING_JOB_WAIT: 2000 steps: - uses: actions/checkout@v2 @@ -50,7 +52,9 @@ jobs: - name: Cache Node.js modules uses: actions/cache@v2 with: - path: ~/.cache/yarn + path: | + **/node_modules + ~/fixtures key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.OS }}-node- @@ -69,5 +73,5 @@ jobs: uses: actions/upload-artifact@v2 if: failure() with: - name: test-storages + name: test-storages-${{ matrix.test_suite }} path: test*/logs -- cgit v1.2.3