mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-01 22:35:49 +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_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
|
||||
|
|
Loading…
Reference in a new issue