File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ on: [push, pull_request]
33jobs :
44 main :
55 name : phpList Base Dist on PHP ${{ matrix.php-versions }}, with dist ${{ matrix.dependencies }} [Build, Test]
6- runs-on : ubuntu-20 .04
6+ runs-on : ubuntu-22 .04
77 env :
88 DB_DATABASE : phplist
99 DB_USERNAME : root
1010 DB_PASSWORD : phplist
11- BROADCAST_DRIVER : log
11+ BROADCAST_DRIVER : log
1212 services :
1313 mysql :
1414 image : mysql:5.7
6363 - name : Run integration tests with phpunit
6464 run : vendor/bin/phpunit tests/Integration/
6565 - name : Running the system tests
66- run : vendor/bin/phpunit tests/System/;
66+ run : |
67+ export PHPLIST_DATABASE_NAME=${{ env.DB_DATABASE }}
68+ export PHPLIST_DATABASE_USER=${{ env.DB_USERNAME }}
69+ export PHPLIST_DATABASE_PASSWORD=${{ env.DB_PASSWORD }}
70+ export PHPLIST_DATABASE_PORT=${{ job.services.mysql.ports['3306'] }}
71+ export PHPLIST_DATABASE_HOST=127.0.0.1
72+ vendor/bin/phpunit tests/System/
6773 - name : Running static analysis
6874 run : vendor/bin/phpstan analyse -l 5 src/ tests/;
6975 - name : Running PHPMD
You can’t perform that action at this time.
0 commit comments