Skip to content

Commit

Permalink
Use correct phpunit in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JonOfUs authored and JonOfUs committed May 20, 2024
1 parent 9609c1e commit d748412
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 234 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:8.5.14
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, gd, zip
coverage: none

Expand All @@ -67,7 +66,7 @@ jobs:
- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: phpunit -c tests/phpunit.xml
run: ./vendor/bin/phpunit -c tests/phpunit.xml

mysql:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -114,7 +113,6 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:8.5.14
extensions: mbstring, iconv, fileinfo, intl, mysql, pdo_mysql, gd, zip
coverage: none

Expand All @@ -134,7 +132,7 @@ jobs:
- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: phpunit -c tests/phpunit.xml
run: ./vendor/bin/phpunit -c tests/phpunit.xml

pgsql:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -183,7 +181,6 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:8.5.14
extensions: mbstring, iconv, fileinfo, intl, pgsql, pdo_pgsql, gd, zip
coverage: none

Expand All @@ -203,4 +200,4 @@ jobs:
- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: phpunit -c tests/phpunit.xml
run: ./vendor/bin/phpunit -c tests/phpunit.xml
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"email": "thrillfall@disroot.org"
},
{
"name": "JohnUfUs",
"name": "JonOfUs",
"email": "jonofus@flueren.eu"
}
],
Expand Down
Loading

0 comments on commit d748412

Please sign in to comment.