aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-01 14:14:58 +0100
committerChocobozzz <me@florianbigard.com>2021-12-03 10:14:17 +0100
commit51e9e152f7df003c65c16f822669a0674efcaf03 (patch)
treea18abdf95bfc449d8d08e4c47e8ccc7ee094bbf4 /.github/workflows/test.yml
parentf3fbbf01402fc7491e044f160edca06ef793eb50 (diff)
downloadPeerTube-51e9e152f7df003c65c16f822669a0674efcaf03.tar.gz
PeerTube-51e9e152f7df003c65c16f822669a0674efcaf03.tar.zst
PeerTube-51e9e152f7df003c65c16f822669a0674efcaf03.zip
Build nightly using github action
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml25
1 files changed, 2 insertions, 23 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0366ac49f..030ec3790 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -50,29 +50,11 @@ jobs:
50 steps: 50 steps:
51 - uses: actions/checkout@v2 51 - uses: actions/checkout@v2
52 52
53 - name: Use Node.js 53 - uses: './.github/actions/reusable-prepare-peertube-build'
54 uses: actions/setup-node@v1
55 with: 54 with:
56 node-version: '12.x' 55 node-version: '12.x'
57 56
58 - name: Setup system dependencies 57 - uses: './.github/actions/reusable-prepare-peertube-run'
59 run: |
60 sudo apt-get install postgresql-client-common redis-tools parallel
61 wget --quiet --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-4.3.1-64bit-static.tar.xz"
62 tar xf ffmpeg-release-4.3.1-64bit-static.tar.xz
63 mkdir -p $HOME/bin
64 cp ffmpeg-*/{ffmpeg,ffprobe} $HOME/bin
65 echo "$HOME/bin" >> $GITHUB_PATH
66
67 - name: Cache Node.js modules
68 uses: actions/cache@v2
69 with:
70 path: |
71 **/node_modules
72 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}
73 restore-keys: |
74 ${{ runner.OS }}-node-
75 ${{ runner.OS }}-
76 58
77 - name: Cache fixtures 59 - name: Cache fixtures
78 uses: actions/cache@v2 60 uses: actions/cache@v2
@@ -85,9 +67,6 @@ jobs:
85 ${{ runner.OS }}-fixtures- 67 ${{ runner.OS }}-fixtures-
86 ${{ runner.OS }}- 68 ${{ runner.OS }}-
87 69
88 - name: Install dependencies
89 run: yarn install --frozen-lockfile
90
91 - name: Set env test variable (schedule) 70 - name: Set env test variable (schedule)
92 if: github.event_name != 'schedule' 71 if: github.event_name != 'schedule'
93 run: | 72 run: |