Skip to content

Commit eeadfe4

Browse files
Update the pytest config to make fixtures optional
1 parent f7ccbc1 commit eeadfe4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
run: |
104104
# We are careful to pull in the minimum dependencies here
105105
# and only operate on files stored in the repo
106-
python -m pytest tests/test_api.py
106+
python -m pytest -c /dev/null -p no:sc2ts_fixtures tests/test_api.py
107107
108108
packaging:
109109
name: Packaging tests

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
pytest_plugins = ["fixtures"]
1+
# We keep the fixtures in a separate modules so that the plugin can
2+
# be excluded when running tests on the bare API
3+
pytest_plugins = ["sc2ts_fixtures"]

0 commit comments

Comments
 (0)