Skip to content

Commit

Permalink
[CI] Run composer with correct php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
simitter committed Nov 8, 2024
1 parent 1e37275 commit e7ab35d
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: php-actions/composer@v6
with:
args: --ignore-platform-reqs

php_version: 7.1
- name: PHP 7.0
uses: php-actions/phpunit@v3
with:
Expand All @@ -24,42 +24,63 @@ jobs:
version: 7
php_version: 7.1

- uses: php-actions/composer@v6
with:
php_version: 7.2
- name: PHP 7.2
uses: php-actions/phpunit@v3
with:
version: 8
php_version: 7.2

- uses: php-actions/composer@v6
with:
php_version: 7.3
- name: PHP 7.3
uses: php-actions/phpunit@v3
with:
version: 8
php_version: 7.3

- uses: php-actions/composer@v6
with:
php_version: 7.4
- name: PHP 7.4
uses: php-actions/phpunit@v3
with:
version: 8
php_version: 7.4

- uses: php-actions/composer@v6
with:
php_version: 8.0
- name: PHP 8.0
uses: php-actions/phpunit@v3
with:
version: 8
php_version: 8.0

- uses: php-actions/composer@v6
with:
php_version: 8.1
- name: PHP 8.1
uses: php-actions/phpunit@v3
with:
version: 8
php_version: 8.1

- uses: php-actions/composer@v6
with:
php_version: 8.2
- name: PHP 8.2
uses: php-actions/phpunit@v3
with:
version: 8
php_version: 8.2

- uses: php-actions/composer@v6
with:
php_version: 8.3
- name: PHP 8.3
uses: php-actions/phpunit@v3
with:
Expand Down

0 comments on commit e7ab35d

Please sign in to comment.