fix: Run tests only on pull requests and scheduled

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/41003/head
Ferdinand Thiessen 1 year ago committed by Joas Schilling
parent fd378c1b12
commit 4a1ff0b6da
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
  1. 12
      .github/workflows/object-storage-azure.yml
  2. 12
      .github/workflows/object-storage-s3.yml
  3. 12
      .github/workflows/object-storage-swift.yml
  4. 7
      .github/workflows/phpunit-mariadb.yml
  5. 5
      .github/workflows/phpunit-memcached.yml
  6. 9
      .github/workflows/phpunit-mysql.yml
  7. 9
      .github/workflows/phpunit-nodb.yml
  8. 7
      .github/workflows/phpunit-oci.yml
  9. 9
      .github/workflows/phpunit-pgsql.yml
  10. 9
      .github/workflows/phpunit-sqlite.yml

@ -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 }}

@ -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 }}

@ -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 }}

@ -7,11 +7,8 @@ name: PHPUnit mariadb
on:
pull_request:
push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"
permissions:
contents: read

@ -7,9 +7,8 @@ name: PHPUnit memcached
on:
pull_request:
push:
branches:
- stable*
schedule:
- cron: "5 2 * * *"
permissions:
contents: read

@ -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

@ -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

@ -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

@ -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

@ -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

Loading…
Cancel
Save