Skip to content

Commit ce0634a

Browse files
committed
refactor: better use composer scripts feature for organizing commands.
1 parent 14b57bc commit ce0634a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ jobs:
9393
run: composer update --with illuminate/support:~${{ matrix.laravel }} --no-progress --no-interaction
9494

9595
- name: Run tests
96-
run: vendor/bin/phpunit
96+
run: composer test

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,8 @@
6060
"Riajul\\Thumbhash\\ThumbhashServiceProvider"
6161
]
6262
}
63+
},
64+
"scripts": {
65+
"test": "./vendor/bin/phpunit"
6366
}
6467
}

0 commit comments

Comments
 (0)