Skip to content

Commit 5193bf1

Browse files
authored
chore: Improve GitHub CI (#4)
1 parent 0971698 commit 5193bf1

File tree

3 files changed

+152
-155
lines changed

3 files changed

+152
-155
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
run: vendor/bin/phpstan analyse --configuration=phpstan.neon
110110

111111
tests:
112-
name: "Tests"
112+
name: "Tests - PHP ${{ matrix.php-version }}, Illuminate ${{ matrix.illuminate }}, ${{ matrix.dependencies }}"
113113

114114
runs-on: ubuntu-latest
115115

@@ -124,6 +124,13 @@ jobs:
124124
- locked
125125
- highest
126126

127+
illuminate:
128+
- ^8.73
129+
- ^9
130+
exclude:
131+
- php-version: 7.4
132+
illuminate: ^9
133+
127134
steps:
128135
- name: "Checkout"
129136
uses: actions/checkout@master
@@ -135,6 +142,9 @@ jobs:
135142
extensions: mbstring
136143
php-version: ${{ matrix.php-version }}
137144

145+
- name: "Install illuminate"
146+
run: composer require "illuminate/support:${{ matrix.illuminate }}" --no-interaction --no-update
147+
138148
- name: "Install lowest dependencies with composer"
139149
if: matrix.dependencies == 'lowest'
140150
run: composer update --prefer-lowest --no-interaction --no-progress --no-suggest

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
"ergebnis/composer-normalize": true,
5555
"infection/extension-installer": true
5656
},
57-
"platform": {
58-
"php": "7.4.24"
59-
},
6057
"preferred-install": "dist",
6158
"sort-packages": true
6259
}

0 commit comments

Comments
 (0)