diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-30 09:43:12 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-31 11:32:04 +0200 |
commit | b488ba1e26b803ac6c637e8b11bdd444ca4c803f (patch) | |
tree | 0a9ce01fcfb26ecddd8a0dccf997514818b8a72f /.github/workflows | |
parent | b9fe9a7ffdf80d81c5580ccccfeb989051fd9d8a (diff) | |
download | PeerTube-b488ba1e26b803ac6c637e8b11bdd444ca4c803f.tar.gz PeerTube-b488ba1e26b803ac6c637e8b11bdd444ca4c803f.tar.zst PeerTube-b488ba1e26b803ac6c637e8b11bdd444ca4c803f.zip |
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
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/test.yml | 10 |
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 |