Skip to content

Commit

Permalink
Add '8.3' and '8.4' to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Dec 8, 2024
1 parent f44c0d9 commit e06dda7
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- '8.2'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup PHP"
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -79,9 +79,12 @@ jobs:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup platform specific environment"
shell: pwsh
run: |
Expand All @@ -106,8 +109,7 @@ jobs:

- name: "Run Unit Tests"
if: always()
run: |
composer test
run: composer test

upload-coverage:
needs: unit-tests
Expand All @@ -119,7 +121,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup platform specific environment"
shell: pwsh
run: |
Expand All @@ -128,7 +131,7 @@ jobs:
- name: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.4
tools: pecl, composer:v2
coverage: xdebug
env:
Expand All @@ -144,8 +147,7 @@ jobs:

- name: "Run Unit Tests with coverage"
if: always()
run: |
composer test-coverage
run: composer test-coverage

- name: "Upload coverage to Codacy"
run: |
Expand Down

0 comments on commit e06dda7

Please sign in to comment.