Skip to content

Commit 382776f

Browse files
committed
Update test.yml
1 parent ea19c13 commit 382776f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,8 @@ jobs:
167167

168168
- name: Grab PHPUnit version
169169
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
170+
shell: bash
171+
run: echo "VERSION=$(echo vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
173172

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

0 commit comments

Comments
 (0)