Skip to content

Commit

Permalink
feat: lock version at stable29
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed Mar 28, 2024
1 parent 3114bb5 commit 15eff94
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 118 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/behat-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
behat-mariadb:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
Expand Down
21 changes: 3 additions & 18 deletions .github/workflows/behat-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@ concurrency:
cancel-in-progress: true

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
steps:
- name: Checkout app
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get version matrix
id: versions
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
with:
matrix: '{"mysql-versions": ["8.1"]}'

changes:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -52,13 +37,13 @@ jobs:
behat-mysql:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
matrix:
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
php-versions: ['8.0','8.1','8.2']
server-versions: [stable29]
mysql-versions: ['8.1']

name: MySQL ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/behat-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ concurrency:
cancel-in-progress: true

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
steps:
- name: Checkout app
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get version matrix
id: versions
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -50,13 +37,13 @@ jobs:
behat-pgsql:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
matrix:
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
php-versions: ['8.0','8.1','8.2']
server-versions: [stable29]

name: PostgreSQL PHP ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}

Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/behat-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ concurrency:
cancel-in-progress: true

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
steps:
- name: Checkout app
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get version matrix
id: versions
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -50,13 +37,13 @@ jobs:
behat-sqlite:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
matrix:
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
php-versions: ['8.0','8.1','8.2']
server-versions: [stable29]

name: SQLite PHP ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}

Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/phpunit-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ concurrency:
cancel-in-progress: true

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
steps:
- name: Checkout app
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get version matrix
id: versions
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -55,13 +42,13 @@ jobs:
phpunit-mariadb:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
matrix:
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
php-versions: ['8.0','8.1','8.2']
server-versions: [stable29]
mariadb-versions: ['10.6', '10.11']
coverage: ['xdebug']
testsuite: [unit, api]
Expand Down
21 changes: 3 additions & 18 deletions .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@ concurrency:
cancel-in-progress: true

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
steps:
- name: Checkout app
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get version matrix
id: versions
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
with:
matrix: '{"mysql-versions": ["8.1"]}'

changes:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -57,13 +42,13 @@ jobs:
phpunit-mysql:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
matrix:
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
php-versions: ['8.0','8.1','8.2']
server-versions: [stable29]
mysql-versions: ['8.1']
coverage: ['xdebug']
testsuite: [unit, api]
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/phpunit-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ concurrency:
cancel-in-progress: true

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
steps:
- name: Checkout app
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get version matrix
id: versions
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -55,13 +42,13 @@ jobs:
phpunit-pgsql:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
matrix:
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
php-versions: ['8.0','8.1','8.2']
server-versions: [stable29]
coverage: ['xdebug']
testsuite: [unit, api]
xdebug_mode: ['debug']
Expand Down
21 changes: 4 additions & 17 deletions .github/workflows/phpunit-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ concurrency:
cancel-in-progress: true

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
php-version: ${{ steps.versions.outputs.php-available-list }}
server-max: ${{ steps.versions.outputs.branches-max-list }}
steps:
- name: Checkout app
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get version matrix
id: versions
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1

changes:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -55,13 +42,13 @@ jobs:
phpunit-sqlite:
runs-on: ubuntu-latest

needs: [changes, matrix]
needs: [changes]
if: needs.changes.outputs.src != 'false'

strategy:
matrix:
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
php-versions: ['8.0','8.1','8.2']
server-versions: [stable29]
coverage: ['xdebug']
testsuite: [unit, api]
xdebug_mode: ['debug']
Expand All @@ -70,7 +57,7 @@ jobs:
coverage: xdebug
testsuite: default
xdebug_mode: coverage
server-versions: master
server-versions: stable28

name: SQLite PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }} Testsuite ${{ matrix.testsuite }}

Expand Down

0 comments on commit 15eff94

Please sign in to comment.