mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-02 23:05:48 +02:00
Added env for test and mysql host
This commit is contained in:
parent
3b6493cdd8
commit
81d4374183
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue