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