Skip to content

Commit

Permalink
Fix slow CI tests (using pytest-xdist) (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottower authored Nov 22, 2023
2 parents edc7f7d + 1e297fa commit b96d989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/environments-test-azure-openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- name: Umshini Environments Test
run: |
python -c 'import os; print("AZURE_OPENAI_API_KEY visible in os.environ:", os.getenv("AZURE_OPENAI_API_KEY"))'
pytest -v tests/unit/test_umshini_environments.py
pytest -v -n auto tests/unit/test_umshini_environments.py
4 changes: 2 additions & 2 deletions .github/workflows/environments-test-openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Regular Environments Test
run: |
python -c 'import os; print("OPENAI_API_KEY visible in os.environ:", os.getenv("OPENAI_API_KEY"))'
pytest -v tests
pytest -v -n auto tests
- name: Umshini Environments Test
run: |
python -c 'import os; print("OPENAI_API_KEY visible in os.environ:", os.getenv("OPENAI_API_KEY"))'
pytest -v tests/unit/test_umshini_environments.py
pytest -v -n auto tests/unit/test_umshini_environments.py

0 comments on commit b96d989

Please sign in to comment.