Skip to content
Snippets Groups Projects
Commit 7689ca4b authored by David Buchmann's avatar David Buchmann
Browse files

test with php 8.1 and 8.2

parent c25665f6
Branches
Tags
No related merge requests found
......@@ -2,6 +2,10 @@ name: tests
on:
push:
branches:
- '[0-9]+.x'
- '[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.x'
pull_request:
jobs:
......@@ -10,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
steps:
- name: Checkout code
......@@ -24,13 +28,8 @@ jobs:
tools: composer:v2
coverage: none
- name: Install PHP 7 dependencies
- name: Install PHP dependencies
run: composer update --prefer-dist --no-interaction --no-progress
if: "matrix.php != '8.0'"
- name: Install PHP 8 dependencies
run: composer update --prefer-dist --no-interaction --no-progress --ignore-platform-reqs
if: "matrix.php == '8.0'"
- name: Execute tests
run: composer test
......
......@@ -18,8 +18,8 @@
"php" : "^7.1 || ^8.0"
},
"require-dev": {
"friends-of-phpspec/phpspec-code-coverage" : "^4.3.2",
"phpspec/phpspec": "^5.1.2 || ^6.2"
"friends-of-phpspec/phpspec-code-coverage" : "^4.3.2 || ^6.3",
"phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4"
},
"autoload": {
"psr-4": {
......@@ -29,10 +29,5 @@
"scripts": {
"test": "vendor/bin/phpspec run",
"test-ci": "vendor/bin/phpspec run -c phpspec.yml.ci"
},
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment