Skip to content

Commit

Permalink
Merge pull request #37221 from nextcloud/save-some-ci-minutes
Browse files Browse the repository at this point in the history
Save some CI time
  • Loading branch information
nickvergessen authored Mar 15, 2023
2 parents 01d58b6 + 766f38d commit ecd443c
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
init:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

steps:
- name: Checkout server
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
ftp-tests:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
# do not stop on another job's failure
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
versions:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
phpunit-oci:
runs-on: ubuntu-20.04

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
performance-testing:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/phpunit-32bits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ concurrency:
jobs:
phpunit-32bits:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

container: shivammathur/node:latest-i386

strategy:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/s3-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
s3-external-tests-minio:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
# do not stop on another job's failure
fail-fast: false
Expand Down Expand Up @@ -68,6 +70,8 @@ jobs:
s3-external-tests-localstack:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
# do not stop on another job's failure
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/s3-primary-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
s3-primary-integration-tests-minio:
runs-on: ubuntu-20.04

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
# do not stop on another job's failure
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/s3-primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
s3-primary-tests-minio:
runs-on: ubuntu-20.04

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
# do not stop on another job's failure
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/smb-kerberos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

name: smb-kerberos-sso

steps:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:

jobs:
stale:

runs-on: ubuntu-latest


if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

permissions:
issues: write

steps:
- uses: actions/stale@v5
with:
Expand All @@ -29,4 +30,4 @@ jobs:
days-before-stale: 30
days-before-close: 14
# debug-only: true

2 changes: 2 additions & 0 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-psalm-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
update-psalm-baseline:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit ecd443c

Please sign in to comment.