We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b3c305 commit a210713Copy full SHA for a210713
.github/workflows/test.yml
@@ -167,7 +167,7 @@ jobs:
167
168
- name: Grab PHPUnit version
169
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
+ run: echo "VERSION=$(php vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
171
172
- name: "Run unit tests (PHPUnit < 10)"
173
if: ${{ ! startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}
0 commit comments