Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
ci: Reduce testing matrix
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and SagarGi committed Sep 10, 2024
commit b997dc5760d2c4a9421a5aa4021592f9dda9bfec
47 changes: 25 additions & 22 deletions .github/workflows/shared_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ jobs:
name: unit tests and linting
strategy:
matrix:
nextcloudVersion: [ stable27, stable28, stable29, stable30 ]
phpVersion: [ 8.0, 8.1, 8.2, 8.3]
exclude:
nextcloudVersion: [ stable30 ]
phpVersion: [ 8.1, 8.2, 8.3 ]
include:
- nextcloudVersion: stable27
phpVersion: 8.3
- nextcloudVersion: stable30
phpVersion: 8.0
- nextcloudVersion: stable28
phpVersion: 8.1
- nextcloudVersion: stable29
phpVersion: 8.1
runs-on: ubuntu-20.04
steps:
- name: Checkout for nightly CI
Expand Down Expand Up @@ -178,27 +180,28 @@ jobs:
name: API tests
strategy:
matrix:
nextcloudVersion: [ stable27, stable28, stable29, stable30 ]
nextcloudVersion: [ stable30 ]
phpVersionMajor: [ 8 ]
phpVersionMinor: [ 0, 1, 2, 3 ]
database: [pgsql, mysql]
isScheduledEventNightly:
- ${{github.event_name == 'schedule'}}
exclude:
- nextcloudVersion: stable27
phpVersionMinor: 3
phpVersionMinor: [ 1, 2, 3 ]
database: [ mysql ]
include:
# Each database once on the newest Server with preinstalled PHP version
- nextcloudVersion: stable30
phpVersionMajor: 8
phpVersionMinor: 1
database: pgsql
- nextcloudVersion: stable27
phpVersionMajor: 8
phpVersionMinor: 0
- isScheduledEventNightly: false
phpVersionMinor: 0
- isScheduledEventNightly: false
database: mysql
- nextcloudVersion: stable28
phpVersionMajor: 8
phpVersionMinor: 1
database: mysql
- nextcloudVersion: stable29
phpVersionMajor: 8
phpVersionMinor: 1
- isScheduledEventNightly: false
nextcloudVersion: stable28
phpVersionMinor: 2
- isScheduledEventNightly: false
nextcloudVersion: stable29
phpVersionMinor: 2
database: mysql
runs-on: ubuntu-20.04
container:
image: public.ecr.aws/ubuntu/ubuntu:latest
Expand Down