Skip to content

Commit 09167e8

Browse files
chore(ci): improve test workflow (#66)
* Test with dependency versions * wip * wip * remove composer lock and run update in workflows
1 parent 0bf905f commit 09167e8

File tree

5 files changed

+6
-11497
lines changed

5 files changed

+6
-11497
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
tools: composer:v2
2222

2323
- name: Install composer dependencies
24-
run: composer install --no-interaction --prefer-dist --optimize-autoloader
24+
run: composer update --no-interaction --prefer-dist --optimize-autoloader
2525

2626
- name: Install client dependencies
2727
run: npm ci

.github/workflows/run-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
php: [8.2, 8.3, 8.4]
15+
dependency-version: [prefer-lowest, prefer-stable]
1516

1617
steps:
1718
- name: Checkout
@@ -25,7 +26,7 @@ jobs:
2526
coverage: xdebug
2627

2728
- name: Install Dependencies
28-
run: composer install --no-interaction --prefer-dist --optimize-autoloader
29+
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
2930

3031
- name: Tests
3132
run: ./vendor/bin/pest --ci

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ node_modules
22
vendor
33
resources/dist
44
docs/pages/.vitepress/cache
5-
docs/pages/.vitepress/dist
5+
docs/pages/.vitepress/dist
6+
composer.lock

0 commit comments

Comments
 (0)