Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin pytest~=8.0.0 until pytest/12074 is fixed #542

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading