Skip to content

Commit

Permalink
Double-check broken client actually works.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-phaf committed Sep 8, 2023
1 parent 821367e commit 2e4771b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3

- name: Build docker container
- name: Build docker containers
run: docker compose build

- name: Test client runs without errors
run: docker compose up --exit-code-from client

- name: Test loader runs without errors
run: docker compose up --exit-code-from loader

- name: Cleanup
run: docker compose down --volumes
1 change: 1 addition & 0 deletions examples/clients/python/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def callGetObservations(stub):
with grpc.insecure_channel(f"{os.getenv('DSHOST', 'localhost')}:{os.getenv('DSPORT', '50050')}") as channel:
stub = dstore_grpc.DatastoreStub(channel)

callAddTimeSeries(stub)
callAddTimeSeries(stub)
callPutObservations(stub)
callGetObservations(stub)

0 comments on commit 2e4771b

Please sign in to comment.