3 on: [push, pull_request]
21 POSTGRES_USER: peertube
22 POSTGRES_HOST_AUTH_METHOD: trust
25 image: rroemhild/test-openldap
32 test_suite: [ misc, api-1, api-2, api-3, api-4, cli, lint, external-plugins ]
37 DISABLE_HTTP_IMPORT_TESTS: true
38 NODE_PENDING_JOB_WAIT: 2000
41 - uses: actions/checkout@v2
44 uses: actions/setup-node@v1
48 - name: Setup system dependencies
50 sudo apt-get install postgresql-client-common redis-tools parallel
51 wget --quiet --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-4.0.3-64bit-static.tar.xz"
52 tar xf ffmpeg-release-4.0.3-64bit-static.tar.xz
54 cp ffmpeg-*/{ffmpeg,ffprobe} $HOME/bin
55 echo "::add-path::$HOME/bin"
57 - name: Cache Node.js modules
58 uses: actions/cache@v2
63 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}
65 ${{ runner.OS }}-node-
68 - name: Install dependencies
69 run: yarn install --frozen-lockfile
72 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
75 uses: actions/upload-artifact@v2
78 name: test-storages-${{ matrix.test_suite }}