diff --git a/.github/workflows/test_on_deploy.yml b/.github/workflows/test_on_deploy.yml index 87c3ea6..d5ea330 100644 --- a/.github/workflows/test_on_deploy.yml +++ b/.github/workflows/test_on_deploy.yml @@ -27,5 +27,5 @@ jobs: pytest tests/integration --disable-warnings env: PYTHONPATH: ./ - API_KEY: ${{ secrets.API_KEY }} + MINDS_API_KEY: ${{ secrets.MINDS_API_KEY }} BASE_URL: 'https://mdb.ai' diff --git a/tests/integration/test_base_flow.py b/tests/integration/test_base_flow.py index 66c749e..4fc0277 100644 --- a/tests/integration/test_base_flow.py +++ b/tests/integration/test_base_flow.py @@ -14,8 +14,8 @@ def get_client(): - api_key = os.getenv('API_KEY') - base_url = os.getenv('BASE_URL', 'https://dev.mindsdb.com') + api_key = os.getenv('MINDS_API_KEY') + base_url = os.getenv('BASE_URL', 'https://dev.mdb.ai') return Client(api_key, base_url=base_url)