diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index c3c3bb8..8ef8c11 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -4,9 +4,6 @@ on: push: branches: - master - pull_request: - branches: - - master workflow_dispatch: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d5e13a5..d3c48a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,10 +3,10 @@ name: Test Package on: push: branches: - - main + - master pull_request: branches: - - main + - master workflow_dispatch: @@ -35,4 +35,5 @@ jobs: - name: Run tests env: khaya_api_key: ${{ secrets.KHAYA_API_KEY }} - run: poetry run pytest --cov=khaya \ No newline at end of file + run: | + poetry run pytest --cov=khaya \ No newline at end of file diff --git a/tests/khaya/conftest.py b/tests/khaya/conftest.py index 3a5f7ce..7028eb3 100644 --- a/tests/khaya/conftest.py +++ b/tests/khaya/conftest.py @@ -5,7 +5,7 @@ from khaya.khaya_interface import KhayaInterface -os.environ.pop("khaya_api_key", None) # Remove the key if it exists +# os.environ.pop("khaya_api_key", None) # Remove the key if it exists load_dotenv() khaya_api_key = os.getenv("khaya_api_key", "test")