aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-24 16:37:47 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-24 18:54:37 +0200
commit07491f4b98e0548b41e21bb13a32f3f840b0ab1f (patch)
tree408bd091b28be15ac9fe0202777f8d839c92af76 /.github/workflows/test.yml
parentee90f1bc19c4a62f34f7a329596d613aa931d8a8 (diff)
downloadPeerTube-07491f4b98e0548b41e21bb13a32f3f840b0ab1f.tar.gz
PeerTube-07491f4b98e0548b41e21bb13a32f3f840b0ab1f.tar.zst
PeerTube-07491f4b98e0548b41e21bb13a32f3f840b0ab1f.zip
Add fixtures cache to github actions
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 6edf3bf8c..f0bd3ba37 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -66,12 +66,22 @@ jobs:
66 with: 66 with:
67 path: | 67 path: |
68 **/node_modules 68 **/node_modules
69 ~/fixtures
70 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }} 69 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}
71 restore-keys: | 70 restore-keys: |
72 ${{ runner.OS }}-node- 71 ${{ runner.OS }}-node-
73 ${{ runner.OS }}- 72 ${{ runner.OS }}-
74 73
74 - name: Cache fixtures
75 uses: actions/cache@v2
76 with:
77 path: |
78 fixtures
79 key: ${{ runner.OS }}-fixtures-${{ matrix.test_suite }}-${{ hashFiles('fixtures/*') }}
80 restore-keys: |
81 ${{ runner.OS }}-fixtures-${{ matrix.test_suite }}-
82 ${{ runner.OS }}-fixtures-
83 ${{ runner.OS }}-
84
75 - name: Install dependencies 85 - name: Install dependencies
76 run: yarn install --frozen-lockfile 86 run: yarn install --frozen-lockfile
77 87