Skip to content

Commit

Permalink
chore: pin pytest~=8.0.0 until fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney authored and christophertubbs committed Mar 12, 2024
1 parent df9330f commit 40d0fe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ jobs:
- name: Run Tests
run: |
. dmod_venv/bin/activate
python3 -m pip install pytest
python3 -m pip install pytest~=8.0.0
python3 -m pytest -o python_files="it_*.py" -o env_vars='IT_REDIS_CONTAINER_PASS="DPXzqRqjhsXokOVQcPUqOJuzKePMsfUc" IT_REDIS_CONTAINER_HOST_PORT=19639 MODEL_EXEC_ACCESS_KEY=dmod MODEL_EXEC_SECRET_KEY=password'
3 changes: 2 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@

[pytest]
addopts = --import-mode=importlib
consider_namespace_packages = true
; TODO: uncomment once https://github.com/pytest-dev/pytest/pull/12074 is resolved
; consider_namespace_packages = true
; environment variables that will be added before tests are run
; key=value pairs with no spaces
; env_vars =
Expand Down

0 comments on commit 40d0fe0

Please sign in to comment.