File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 coverage : none
2222
2323 - run : composer install --no-progress --prefer-dist
24- - run : vendor/bin/tester tests -s -C
24+ - run : composer tester
2525 - if : failure()
2626 uses : actions/upload-artifact@v4
2727 with :
4141 coverage : none
4242
4343 - run : composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
44- - run : vendor/bin/tester tests -s -C
44+ - run : composer tester
4545
4646
4747 code_coverage :
5656 coverage : none
5757
5858 - run : composer install --no-progress --prefer-dist
59- - run : vendor/bin/ tester -p phpdbg tests -s -C --coverage ./coverage.xml --coverage-src ./src
59+ - run : composer tester -- -p phpdbg --coverage ./coverage.xml --coverage-src ./src
6060 - run : wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
6161 - env :
6262 COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1919 "nette/utils" : " ^4.0"
2020 },
2121 "require-dev" : {
22- "nette/tester" : " ^2.4 " ,
22+ "nette/tester" : " ^2.5 " ,
2323 "nette/di" : " ^3.1 || ^4.0" ,
2424 "latte/latte" : " ^3.0.12" ,
2525 "tracy/tracy" : " ^2.9" ,
Original file line number Diff line number Diff line change 1313
1414// configure environment
1515Tester \Environment::setup ();
16+ Tester \Environment::setupFunctions ();
1617date_default_timezone_set ('Europe/Prague ' );
1718
1819
@@ -35,9 +36,3 @@ function getTempDir(): string
3536
3637 return $ dir ;
3738}
38-
39-
40- function test (string $ title , Closure $ function ): void
41- {
42- $ function ();
43- }
You can’t perform that action at this time.
0 commit comments