Skip to content

Commit 8281732

Browse files
committed
Tests installing PHPUnit globally.
1 parent 997f06b commit 8281732

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/isolated-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ jobs:
5656
with:
5757
php-version: ${{ matrix.php }}
5858
extensions: dom, curl, libxml, mbstring, pcntl, fileinfo
59-
tools: phpunit
6059
coverage: pcov
6160

61+
- name: Install PHPUnit
62+
run: composer global require phpunit/phpunit
63+
6264
- name: Setup problem matchers
6365
run: |
6466
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -71,7 +73,4 @@ jobs:
7173
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
7274
7375
- name: Execute tests
74-
run: |
75-
pwd
76-
cat "src/Tempest/${{ matrix.package.basename }}/phpunit.xml"
77-
phpunit -c "src/Tempest/${{ matrix.package.basename }}/phpunit.xml"
76+
run: phpunit -c "src/Tempest/${{ matrix.package.basename }}/phpunit.xml"

0 commit comments

Comments
 (0)