Skip to content

Commit 7482ef0

Browse files
committed
start openldap in workflow
1 parent 3fcf025 commit 7482ef0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/apisix-e2e-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ jobs:
9999
node $(pwd)/adc.js -v
100100
echo "ADC_BIN=node $(pwd)/adc.js" >> $GITHUB_ENV
101101
102+
- name: Start OpenLDAP server
103+
run: make e2e-ldap
104+
102105
- name: Run E2E test suite
103106
shell: bash
104107
env:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ kind-e2e-test: kind-up build-image kind-load-images e2e-test
135135

136136
# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
137137
.PHONY: e2e-test
138-
e2e-test: adc e2e-ldap
138+
e2e-test: adc
139139
go test $(TEST_DIR) -test.timeout=$(TEST_TIMEOUT) -v -ginkgo.v -ginkgo.focus="$(TEST_FOCUS)" -ginkgo.label-filter="$(TEST_LABEL)"
140140

141141
.PHONY: ginkgo-e2e-test
142-
ginkgo-e2e-test: adc e2e-ldap
142+
ginkgo-e2e-test: adc
143143
@ginkgo -cover -coverprofile=coverage.txt -r --randomize-all --randomize-suites --trace --focus=$(E2E_FOCUS) --nodes=$(E2E_NODES) --label-filter="$(TEST_LABEL)" $(TEST_DIR)
144144

145145
.PHONY: install-ginkgo

0 commit comments

Comments
 (0)