Skip to content

Commit

Permalink
use sdk dir
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed May 19, 2024
1 parent bfdbd29 commit 2a0a209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,11 @@ jobs:
SDKGEN_CLIENT_ID: ${{ secrets.SDKGEN_CLIENT_ID }}
SDKGEN_CLIENT_SECRET: ${{ secrets.SDKGEN_CLIENT_SECRET }}
run: docker-compose up
- name: Create sdk dir
run: mkdir sdk
- name: Move
working-directory: .
run: cp ./output/*.py ./integration/python/
run: cp ./output/*.py ./integration/python/sdk
- name: PIP install
run: pip install -r requirements.txt
- name: Run
Expand Down
7 changes: 3 additions & 4 deletions integration/python/main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from sdkgen import Anonymous

from client import Client
from error_exception import ErrorException
from todo import Todo

from sdk.client import Client
from sdk.error_exception import ErrorException
from sdk.todo import Todo

def assert_get_hello(client: Client):
message = client.test().get_hello()
Expand Down

0 comments on commit 2a0a209

Please sign in to comment.