]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .github/workflows/test.yml
Added translation using Weblate (Chinese (Traditional, Hong Kong))
[github/Chocobozzz/PeerTube.git] / .github / workflows / test.yml
index f0bd3ba3734b9ec6eaea05c27a873066e706cbca..042ffe0d429f88831454a94e4bf68f718314e76d 100644 (file)
@@ -55,11 +55,11 @@ jobs:
       - name: Setup system dependencies
         run: |
           sudo apt-get install postgresql-client-common redis-tools parallel
-          wget --quiet --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-4.0.3-64bit-static.tar.xz"
-          tar xf ffmpeg-release-4.0.3-64bit-static.tar.xz
+          wget --quiet --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-4.3.1-64bit-static.tar.xz"
+          tar xf ffmpeg-release-4.3.1-64bit-static.tar.xz
           mkdir -p $HOME/bin
           cp ffmpeg-*/{ffmpeg,ffprobe} $HOME/bin
-          echo "::add-path::$HOME/bin"
+          echo "$HOME/bin" >> $GITHUB_PATH
 
       - name: Cache Node.js modules
         uses: actions/cache@v2
@@ -88,16 +88,21 @@ jobs:
       - name: Set env test variable (schedule)
         if: github.event_name != 'schedule'
         run: |
-          echo "::set-env name=DISABLE_HTTP_IMPORT_TESTS::true"
+          echo "DISABLE_HTTP_IMPORT_TESTS=true" >> $GITHUB_ENV
 
       - name: Run Test
         # external-plugins tests only run on schedule
         if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
         run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
 
+      - name: Display directories state
+        if: failure()
+        run: |
+          ls -l test*
+
       - name: Upload logs
         uses: actions/upload-artifact@v2
         if: failure()
         with:
           name: test-storages-${{ matrix.test_suite }}
-          path: test*/logs
+          path: test*/logs/*