File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 3939 run : mysql --host 127.0.0.1 --port ${{ job.services.mysql.ports['3306'] }} -u${{ env.DB_USERNAME }} -p${{ env.DB_PASSWORD }} -e "SHOW DATABASES"
4040 - name : Get composer cache directory
4141 id : composer-cache
42- run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
42+ run : echo "::set-output name=dir:: $(composer config cache-files-dir)"
4343 - name : Cache composer dependencies
4444 uses : actions/cache@v3
4545 with :
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