Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
guptadev21 committed Oct 24, 2024
1 parent a5ebf99 commit b5b1ea9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/python-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,11 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Install local package using uv
run: |
uv pip install -e .
- name: Set PYTHONPATH
- name: Create Virtual Environment
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
uv venv
source .venv/bin/activate
uv sync
- name: Run PyTest
run: pytest tests/test_get_token.py
- name: Run Script
run: python run_test.py
11 changes: 11 additions & 0 deletions run_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from rapyuta_io_sdk_v2.client import Client
from rapyuta_io_sdk_v2.config import Configuration

if __name__ == "__main__":
# Create a Configuration object
config = Configuration(email="[email protected]")

client = Client(config)

if client is not None:
print("Client object created successfully")

0 comments on commit b5b1ea9

Please sign in to comment.