Skip to content

Commit f7e0390

Browse files
committed
ci: run apitester against PRs
1 parent 0e41391 commit f7e0390

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run_tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ 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)