Skip to content

Commit

Permalink
fix(pyproject): default to exclude tests that require pyensembl
Browse files Browse the repository at this point in the history
this is only due to:

- the expectation of excessive time required to load the database on uninitialized CI systems
- relative infrequency with which this module needs to be executed given the ability to used cached copies of the database
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
  • Loading branch information
cameronraysmith committed Apr 1, 2024
1 parent a322b8e commit cbd905e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ pyrovelocity-notebooks = "pyrovelocity.workflows.notebooks:cli"
[tool.pytest.ini_options]
log_level = "INFO"
addopts = """
-m "not pyensembl"
-rA
--xdoctest
--disable-warnings
Expand All @@ -379,6 +380,7 @@ addopts = """
"""
asyncio_mode = "strict"
norecursedirs = ["bazel-*", ".direnv", "reproducibility", "scripts"]
markers = ["pyensembl: Tests that require pyensembl to run."]

[tool.coverage.paths]
source = ["src/pyrovelocity"]
Expand Down

0 comments on commit cbd905e

Please sign in to comment.