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_USER: root
MYSQL_PASS: supersecret MYSQL_PASS: supersecret
MYSQL_PORT: "3306" MYSQL_PORT: "3306"
MYSQL_HOST: localhost
command: command:
- "--webserver=yes" - "--webserver=yes"
- "--api=yes" - "--api=yes"
@ -43,6 +44,6 @@ jobs:
name: Run tests name: Run tests
command: | command: |
mkdir -p /tmp/test-reports 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: - store_test_results:
path: /tmp/test-reports path: /tmp/test-reports