Skip to content

Commit eb7b229

Browse files
committed
ci: Fix deps + check on lowest deps
1 parent 5213958 commit eb7b229

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ jobs:
2020
dependencies:
2121
- "lowest"
2222
- "highest"
23-
exclude:
24-
# Exclude lowest deps version as they don't support newer php versions
25-
- dependencies: "lowest"
26-
php-version: "8.3"
27-
- dependencies: "lowest"
28-
php-version: "8.2"
29-
- dependencies: "lowest"
30-
php-version: "8.1"
3123

3224
steps:
3325
- name: "Checkout"
@@ -48,6 +40,9 @@ jobs:
4840
run: "vendor/bin/phpunit -c phpunit.xml.dist"
4941

5042
- name: Upload coverage results to Coveralls
43+
# skip php-coversalls for lowest deps
44+
# it fails on lowest depedencies because old versions of guzzle doesn't work well with newer php versions
45+
if: "${{ 'highest' == matrix.dependencies }}"
5146
env:
5247
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5348
run: |

composer.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"require": {
1212
"php": "^7.4 || ^8.0",
1313
"doctrine/dbal": "^3.0",
14-
"doctrine/inflector": "^1.0 || ^2.0"
14+
"doctrine/inflector": "^1.4 || ^2.0"
1515
},
1616
"require-dev": {
1717
"phpunit/phpunit": "^10.2",
18-
"php-coveralls/php-coveralls": "^2.0.0"
18+
"php-coveralls/php-coveralls": "^2.7.0"
1919
},
2020
"autoload": {
2121
"psr-4": {
@@ -28,10 +28,5 @@
2828
}
2929
},
3030
"minimum-stability": "dev",
31-
"prefer-stable": true,
32-
"extra": {
33-
"branch-alias": {
34-
"dev-master": "1.4.x-dev"
35-
}
36-
}
31+
"prefer-stable": true
3732
}

0 commit comments

Comments
 (0)