Added env for test and mysql host

This commit is contained in:
Tim Dawson 2021-07-20 00:33:44 +12:00
parent 3b6493cdd8
commit 81d4374183

View file

@ -13,6 +13,7 @@ jobs:
MYSQL_USER: root
MYSQL_PASS: supersecret
MYSQL_PORT: "3306"
MYSQL_HOST: localhost
command:
- "--webserver=yes"
- "--api=yes"
@ -43,6 +44,6 @@ jobs:
name: Run tests
command: |
mkdir -p /tmp/test-reports
gotestsum --junitfile /tmp/test-reports/unit-tests.xml
env TEST_ZONE_NAME=example.com. gotestsum --junitfile /tmp/test-reports/unit-tests.xml
- store_test_results:
path: /tmp/test-reports