]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: Run tests only on pull requests and scheduled
authorFerdinand Thiessen <opensource@fthiessen.de>
Wed, 8 Nov 2023 01:30:33 +0000 (02:30 +0100)
committerJoas Schilling <coding@schilljs.com>
Fri, 26 Jan 2024 13:55:16 +0000 (14:55 +0100)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
.github/workflows/object-storage-azure.yml
.github/workflows/object-storage-s3.yml
.github/workflows/object-storage-swift.yml
.github/workflows/phpunit-mariadb.yml
.github/workflows/phpunit-memcached.yml
.github/workflows/phpunit-mysql.yml
.github/workflows/phpunit-nodb.yml
.github/workflows/phpunit-oci.yml
.github/workflows/phpunit-pgsql.yml
.github/workflows/phpunit-sqlite.yml

index 72389c5a816a203d3f7a08443aae0fc3c4c024b7..ef0e29b117bdeb5e1ed0b733923ddfb15f87883f 100644 (file)
@@ -1,16 +1,8 @@
 name: Object storage azure
 on:
   pull_request:
-    paths:
-      - '.github/workflows/**'
-      - '3rdparty/**'
-      - '**/*.php'
-      - '**/lib/**'
-      - '**/tests/**'
-      - '**/vendor-bin/**'
-      - '.php-cs-fixer.dist.php'
-      - 'composer.json'
-      - 'composer.lock'
+  schedule:
+    - cron: "15 2 * * *"
 
 concurrency:
   group: object-storage-azure-${{ github.head_ref || github.run_id }}
index e1236a5c39b236139260aa6701d31b2180e88d92..8482fc5cc88d49303e3802f73fe158e009fffb77 100644 (file)
@@ -1,16 +1,8 @@
 name: Object storage S3
 on:
   pull_request:
-    paths:
-      - '.github/workflows/**'
-      - '3rdparty/**'
-      - '**/*.php'
-      - '**/lib/**'
-      - '**/tests/**'
-      - '**/vendor-bin/**'
-      - '.php-cs-fixer.dist.php'
-      - 'composer.json'
-      - 'composer.lock'
+  schedule:
+    - cron: "15 2 * * *"
 
 concurrency:
   group: object-storage-s3-${{ github.head_ref || github.run_id }}
index 0179e50d4fb693dff2f2306409f2c77440e1c1c6..d6ef067d2d0755e7e843a119d1ed7edc7d17922f 100644 (file)
@@ -1,16 +1,8 @@
 name: Object storage Swift
 on:
   pull_request:
-    paths:
-      - '.github/workflows/**'
-      - '3rdparty/**'
-      - '**/*.php'
-      - '**/lib/**'
-      - '**/tests/**'
-      - '**/vendor-bin/**'
-      - '.php-cs-fixer.dist.php'
-      - 'composer.json'
-      - 'composer.lock'
+  schedule:
+    - cron: "15 2 * * *"
 
 concurrency:
   group: object-storage-swift-${{ github.head_ref || github.run_id }}
index cf213d1c1b457c2e5e03041786103328aa5d7351..b3ebdfe16e6cb275bdf28df881eeaf134cff5b12 100644 (file)
@@ -7,11 +7,8 @@ name: PHPUnit mariadb
 
 on:
   pull_request:
-  push:
-    branches:
-      - main
-      - master
-      - stable*
+  schedule:
+    - cron: "5 2 * * *"
 
 permissions:
   contents: read
index e155e9926b6313f9b0cb0de9361e212f9d9e6859..9ec788b31eb6d2be3d57ace71bc17cb2c912463d 100644 (file)
@@ -7,9 +7,8 @@ name: PHPUnit memcached
 
 on:
   pull_request:
-  push:
-    branches:
-      - stable*
+  schedule:
+    - cron: "5 2 * * *"
 
 permissions:
   contents: read
index 1c4795136034134de47c81be8148110a3c4adc6d..1bf33ca51f753e757134273d85e321af43988bba 100644 (file)
@@ -7,11 +7,8 @@ name: PHPUnit mysql
 
 on:
   pull_request:
-  push:
-    branches:
-      - main
-      - master
-      - stable*
+  schedule:
+    - cron: "5 2 * * *"
 
 permissions:
   contents: read
@@ -25,7 +22,7 @@ jobs:
     runs-on: ubuntu-latest
 
     outputs:
-      src: ${{ steps.changes.outputs.src}}
+      src: ${{ steps.changes.outputs.src }}
 
     steps:
       - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
index b9dea3c28ee5819145b1c92edbbb94e8a448c608..2454da43b07d1bb968fc153f0a58ee2ca5adce45 100644 (file)
@@ -8,11 +8,8 @@ name: PHPUnit nodb
 
 on:
   pull_request:
-  push:
-    branches:
-      - main
-      - master
-      - stable*
+  schedule:
+    - cron: "5 2 * * *"
 
 permissions:
   contents: read
@@ -26,7 +23,7 @@ jobs:
     runs-on: ubuntu-latest
 
     outputs:
-      src: ${{ steps.changes.outputs.src}}
+      src: ${{ steps.changes.outputs.src }}
 
     steps:
       - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
index fb2081876a75d57ad189cc15ff1da4b85fb5aada..e24a0dd899059336128aabcebdcdc5cb02d38a48 100644 (file)
@@ -1,6 +1,9 @@
 name: PHPUnit oci
 
-on: pull_request
+on:
+  pull_request:
+  schedule:
+    - cron: "5 2 * * *"
 
 permissions:
   contents: read
@@ -14,7 +17,7 @@ jobs:
     runs-on: ubuntu-latest
 
     outputs:
-      src: ${{ steps.changes.outputs.src}}
+      src: ${{ steps.changes.outputs.src }}
 
     steps:
       - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
index ddcd20ed51ccdba7832f6ab9177f891c5a38c06e..94d5562cd6e33ce3eddf55340816a5d0a73d8b82 100644 (file)
@@ -7,11 +7,8 @@ name: PHPUnit pgsql
 
 on:
   pull_request:
-  push:
-    branches:
-      - main
-      - master
-      - stable*
+  schedule:
+    - cron: "5 2 * * *"
 
 permissions:
   contents: read
@@ -25,7 +22,7 @@ jobs:
     runs-on: ubuntu-latest
 
     outputs:
-      src: ${{ steps.changes.outputs.src}}
+      src: ${{ steps.changes.outputs.src }}
 
     steps:
       - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
index 61710f31b6fcd06dd3e15f4bbfc0bb60adfc06af..fa9728c2a5355d6fe68425e1032d22c1b30e2e0b 100644 (file)
@@ -7,11 +7,8 @@ name: PHPUnit sqlite
 
 on:
   pull_request:
-  push:
-    branches:
-      - main
-      - master
-      - stable*
+  schedule:
+    - cron: "5 2 * * *"
 
 permissions:
   contents: read
@@ -25,7 +22,7 @@ jobs:
     runs-on: ubuntu-latest
 
     outputs:
-      src: ${{ steps.changes.outputs.src}}
+      src: ${{ steps.changes.outputs.src }}
 
     steps:
       - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1