Skip to content

Commit d0dcf2b

Browse files
committed
fix: e2e job
Signed-off-by: hlts2 <[email protected]>
1 parent 92deb2a commit d0dcf2b

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/manual-publish.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@ on:
33
pull_request:
44

55
jobs:
6+
e2e:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: vdaas/vald-client-ci/.github/actions/e2e@main
11+
with:
12+
client_type: java
13+
614
publish:
715
runs-on: ubuntu-latest
816
steps:
9-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v3
1018
- name: prepare for publish
1119
run: |
1220
./gradlew clean

Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,13 @@ $(GOPATH)/src/github.com/envoyproxy/protoc-gen-validate:
174174
--depth 1 \
175175
https://github.com/envoyproxy/protoc-gen-validate \
176176
$(GOPATH)/src/github.com/envoyproxy/protoc-gen-validate
177+
178+
TEST_DATASET_PATH = wordvecs1000.json
179+
180+
.PHONY: test
181+
## Execute test
182+
test: $(TEST_DATASET_PATH)
183+
./gradlew test
184+
185+
$(TEST_DATASET_PATH):
186+
curl -L https://raw.githubusercontent.com/rinx/word2vecjson/master/data/wordvecs1000.json -o $(TEST_DATASET_PATH)

0 commit comments

Comments
 (0)