diff --git a/.github/workflows/python-compatibility.yml b/.github/workflows/python-compatibility.yml index bb57ce9..7606796 100644 --- a/.github/workflows/python-compatibility.yml +++ b/.github/workflows/python-compatibility.yml @@ -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 \ No newline at end of file diff --git a/run_test.py b/run_test.py new file mode 100644 index 0000000..be9dd59 --- /dev/null +++ b/run_test.py @@ -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="test@email.com") + + client = Client(config) + + if client is not None: + print("Client object created successfully")