Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nojimage committed May 1, 2024
1 parent 74f4955 commit 9815663
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,20 @@ on:
push:
branches:
- cake4
- cake3
pull_request:
branches:
- '*'
schedule:
- cron: "0 7 1 * *"
branches:
- cake4
- cake3

jobs:
testsuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
cakephp-version: ['4.4.*']
php-version: ['7.4', '8.0', '8.1']
cakephp-version: ['4.5.*']
php-version: ['7.4', '8.0', '8.1', '8.2']
db-type: ['mysql']
prefer-lowest: ['']
coverage: ['no']
Expand All @@ -31,11 +27,11 @@ jobs:
db-type: 'mysql:5.7'
prefer-lowest: 'prefer-lowest'
coverage: 'no'
- cakephp-version: '4.0.*'
php-version: '8.0'
db-type: 'mysql'
prefer-lowest: ''
coverage: 'no'
# - cakephp-version: '4.0.*'
# php-version: '8.0'
# db-type: 'mysql'
# prefer-lowest: ''
# coverage: 'no'

- cakephp-version: '4.1.*'
php-version: '7.2'
Expand Down Expand Up @@ -70,8 +66,19 @@ jobs:
prefer-lowest: ''
coverage: 'no'

- php-version: '8.1'
cakephp-version: '4.4.*'
- cakephp-version: '4.4.*'
php-version: '7.4'
db-type: 'mysql:5.7'
prefer-lowest: 'prefer-lowest'
coverage: 'no'
- cakephp-version: '4.4.*'
php-version: '8.2'
db-type: 'mysql'
prefer-lowest: ''
coverage: 'no'

- php-version: '8.2'
cakephp-version: '4.5.*'
db-type: 'mysql'
prefer-lowest: ''
coverage: 'coverage'
Expand Down Expand Up @@ -155,7 +162,7 @@ jobs:

cs-stan:
name: Coding Standard & Static Analysis
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand All @@ -165,7 +172,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
extensions: mbstring, intl, apcu
coverage: none

Expand Down

0 comments on commit 9815663

Please sign in to comment.