Skip to content

Commit 4f9a50b

Browse files
committed
ci: run apitester tester in the right workflow
1 parent 860f462 commit 4f9a50b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

gcp/api/run_tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ set -e
2727
poetry install
2828
poetry run python server_test.py
2929
poetry run python integration_tests.py "$1"
30+
31+
# Run the API tester
32+
cd ../../tools/apitester/ && go test ./...

run_tests.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,3 @@ poetry run python -m unittest discover osv/ecosystems/ "*_test.py" .
1414

1515
# Run the validation for the go/python datastore models
1616
cd ./go/models/internal/validate/ && ./run_validate.sh
17-
18-
# Run the API tester
19-
url="localhost:${DATASTORE_EMULATOR_PORT}"
20-
21-
cd ./tools/apitester/ && OSV_API_BASE_URL="$url" go test ./...

0 commit comments

Comments
 (0)