Skip to content

Commit 8f920f8

Browse files
committed
GH Actions: tweak to get commands running on Windows
1 parent 24e504c commit 8f920f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168

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

173173
- name: "Run unit tests (PHPUnit < 10)"
174174
if: ${{ ! startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}
@@ -183,4 +183,4 @@ jobs:
183183
name: parallel-lint-phar
184184

185185
- name: Run linter against codebase using the phar
186-
run: php ./parallel-lint.phar --exclude vendor --exclude tests/fixtures .
186+
run: php "parallel-lint.phar" --exclude vendor --exclude tests/fixtures .

0 commit comments

Comments
 (0)