Skip to content

Commit f1e041e

Browse files
authored
Fix missing variable in workflow (rappasoft#1933)
* Fix missing variable name * Remove phpunit failOnWarning * Tests * PCOV Use Laravel 11
1 parent 2a4b2d1 commit f1e041e

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/run-tests-pcov-pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
os: [ubuntu-latest]
2222
php: [8.3]
23-
laravel: [10]
23+
laravel: [11]
2424
stability: [prefer-dist]
2525

2626
name: PCOV - ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}

.github/workflows/run-tests-pull.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
name: PULL PHP-${{ matrix.php }} - Laravel-10
2323
env:
24-
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L{{ matrix.laravel }}
24+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
2525
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
2626

2727
steps:
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
php-version: ${{ matrix.php }}
5050
extensions: ${{ env.extensions }}
51-
tools: phpunit:latest
51+
tools: phpunit:9.6
5252
ini-values: memory_limit=512M
5353
coverage: none
5454
env:
@@ -84,7 +84,7 @@ jobs:
8484
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
8585

8686
- name: Run Unit Tests
87-
run: php ./vendor/bin/paratest --no-coverage --processes=4
87+
run: php ./vendor/bin/phpunit --no-coverage
8888

8989

9090
test-laravel11:
@@ -100,7 +100,7 @@ jobs:
100100

101101
name: PULL PHP-${{ matrix.php }} - Laravel-11
102102
env:
103-
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L{{ matrix.laravel }}
103+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
104104
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
105105

106106
steps:

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
name: PHP-${{ matrix.php }} - Laravel-10
2424
env:
25-
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L{{ matrix.laravel }}
25+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
2626
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
2727

2828
steps:
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
php-version: ${{ matrix.php }}
5151
extensions: ${{ env.extensions }}
52-
tools: phpunit:latest
52+
tools: phpunit:9.6
5353
ini-values: memory_limit=512M
5454
coverage: none
5555
env:
@@ -101,7 +101,7 @@ jobs:
101101

102102
name: PHP-${{ matrix.php }} - Laravel-11
103103
env:
104-
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L{{ matrix.laravel }}
104+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
105105
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
106106

107107
steps:

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
colors="false"
66
cacheResult="false"
77
executionOrder="random"
8-
failOnWarning="false"
98
failOnRisky="false"
109
failOnEmptyTestSuite="false"
1110
beStrictAboutOutputDuringTests="true" >

0 commit comments

Comments
 (0)