Skip to content

Commit

Permalink
Replace php version in workflow to 8.0, 7.4 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsenkolesh authored Nov 11, 2021
1 parent 1f9a191 commit d5ac4c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.
29 changes: 4 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,42 +22,21 @@ jobs:
run: composer install --no-interaction
- name: run tests
run: vendor/bin/phpunit
abrouter-tests-php-73:
abrouter-tests-php-80:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.3']
php-versions: ['8.0']
phpunit-versions: ['latest']
include:
- operating-system: 'ubuntu-latest'
php-versions: '7.3'
php-versions: '8.0'
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-php@master
with:
php-version: '7.3'
- name: Update Composer
run: sudo composer self-update 1.10.15 --no-interaction
- name: Run Composer Install
run: composer install --no-interaction
- name: run tests
run: vendor/bin/phpunit
abrouter-tests-php-72:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.3']
phpunit-versions: ['latest']
include:
- operating-system: 'ubuntu-latest'
php-versions: '7.3'
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-php@master
with:
php-version: '7.3'
php-version: '8.0'
- name: Update Composer
run: sudo composer self-update 1.10.15 --no-interaction
- name: Run Composer Install
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^5.5 || ^7.0 || ^8.0",
"php": "^7.4 || ^8.0",
"guzzlehttp/guzzle": "^6.5",
"ext-json": "*",
"art4/json-api-client": "^1.0"
Expand Down

0 comments on commit d5ac4c0

Please sign in to comment.