Skip to content

Commit a210713

Browse files
committed
Update test.yml
1 parent 2b3c305 commit a210713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167

168168
- name: Grab PHPUnit version
169169
id: phpunit_version
170-
run: echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
170+
run: echo "VERSION=$(php vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
171171

172172
- name: "Run unit tests (PHPUnit < 10)"
173173
if: ${{ ! startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}

0 commit comments

Comments
 (0)