Skip to content

Commit 0849720

Browse files
author
Ben Thomson
committed
Delay running post-update Composer scripts in automated tests
Allows us to reset the October codebase to what's in Git *before* running these tasks.
1 parent c70af0e commit 0849720

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
php-version: ${{ matrix.phpVersions }}
2626
extension-csv: mbstring, intl
2727
- name: Install Composer dependencies
28-
run: composer install --no-interaction --no-progress --no-suggest
28+
run: composer install --no-interaction --no-progress --no-suggest --no-scripts
2929
- name: Reset October modules and library
3030
run: |
3131
git reset --hard HEAD
@@ -34,6 +34,10 @@ jobs:
3434
unzip ./vendor/october/develop.zip -d ./vendor/october
3535
mv ./vendor/october/library-develop ./vendor/october/rain
3636
composer dump-autoload
37+
- name: Run post-update Composer scripts
38+
run: |
39+
php artisan october:util set build
40+
php artisan package:discover
3741
- name: Run Linting and Tests
3842
run: |
3943
./vendor/bin/parallel-lint --exclude vendor --exclude storage --exclude tests/fixtures/plugins/testvendor/goto/Plugin.php .

0 commit comments

Comments
 (0)