mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for tests
This commit is contained in:
parent
2f02b17ab9
commit
677090914d
5
.github/workflows/phpunit.yml
vendored
5
.github/workflows/phpunit.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
||||
DB_DATABASE: ninja
|
||||
DB_USERNAME: ninja
|
||||
DB_PASSWORD: ninja
|
||||
DB_PORT: 32574
|
||||
BROADCAST_DRIVER: log
|
||||
CACHE_DRIVER: file
|
||||
QUEUE_CONNECTION: sync
|
||||
@ -37,7 +38,7 @@ jobs:
|
||||
mariadb:
|
||||
image: mariadb:latest
|
||||
ports:
|
||||
- 3306/tcp
|
||||
- 32574:3306
|
||||
env:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||
MYSQL_USER: ninja
|
||||
@ -64,7 +65,7 @@ jobs:
|
||||
|
||||
- name: Verify MySQL connection from container
|
||||
run: |
|
||||
mysql -h"localhost" -uninja -pninja -e "SHOW DATABASES"
|
||||
mysql -h"localhost" --port 32574 -uninja -pninja -e "SHOW DATABASES"
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user