]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .github/workflows/test.yml
Add docker github action
[github/Chocobozzz/PeerTube.git] / .github / workflows / test.yml
index f8706d4bef172f73c97c729a313209097b2b4c4e..0366ac49fb02440b09755fd92f2561c02fc92792 100644 (file)
@@ -1,11 +1,7 @@
-name: Test Suite
+name: Test
 
 on:
   push:
-    branches:
-      - develop
-      - master
-      - ci
   pull_request:
     types: [synchronize, opened]
   schedule:
@@ -23,7 +19,7 @@ jobs:
           - 6379:6379
 
       postgres:
-        image: postgres:9.6
+        image: postgres:10
         ports:
           - 5432:5432
         env:
@@ -35,15 +31,21 @@ jobs:
         ports:
           - 10389:10389
 
+      s3ninja:
+        image: chocobozzz/s3-ninja
+        ports:
+          - 9444:9000
+
     strategy:
       fail-fast: false
       matrix:
-        test_suite: [ misc, api-1, api-2, api-3, api-4, cli, lint, external-plugins ]
+        test_suite: [ client, api-1, api-2, api-3, api-4, cli-plugin, lint, external-plugins ]
 
     env:
       PGUSER: peertube
       PGHOST: localhost
-      NODE_PENDING_JOB_WAIT: 500
+      NODE_PENDING_JOB_WAIT: 250
+      ENABLE_OBJECT_STORAGE_TESTS: true
 
     steps:
       - uses: actions/checkout@v2