Skip to content

Commit

Permalink
Merge pull request #10 from Icinga/upgrade-php-workflow
Browse files Browse the repository at this point in the history
Upgrade php workflow
  • Loading branch information
nilmerg authored Jun 9, 2021
2 parents f466d3b + a975db2 commit 22110a2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
os: ['ubuntu-latest']
include:
- php: '5.6'
Expand All @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v1
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: phpcs
Expand All @@ -51,25 +51,27 @@ jobs:
runs-on: ${{ matrix.os }}

env:
phpunit-version: 7.5.20
phpunit-version: 9.5.4

strategy:
fail-fast: false
matrix:
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
os: ['ubuntu-latest']
include:
- php: '5.6'
phpunit-version: 5.7.27
- php: '7.0'
phpunit-version: 6.5.14
- php: '7.1'
phpunit-version: 7.5.20
- php: '7.2'
phpunit-version: 8.5.15

steps:
- name: Checkout code base
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v1
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: phpunit:${{ matrix.phpunit-version || env.phpunit-version }}
Expand Down

0 comments on commit 22110a2

Please sign in to comment.