clan-cli: add DavHau's explanation about the with_core pytest marker
See: https://git.clan.lol/clan/clan-core/pulls/2994#issuecomment-22542
This commit is contained in:
@@ -34,6 +34,11 @@ log_level = "DEBUG"
|
||||
log_format = "%(message)s"
|
||||
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --durations 5 --color=yes --new-first -W error -n auto" # Add --pdb for debugging
|
||||
norecursedirs = ["clan_cli/tests/helpers", "clan_cli/nixpkgs"]
|
||||
# All tests which evaluate any nix library code from clan-core need to use the
|
||||
# `with_core` marker, so basically all tests which evaluate a flake with
|
||||
# machines. In the CI pipeline we run these tests in a separate derivation
|
||||
# depending on clan-core. All other tests do not need to depend on clan-core
|
||||
# and can be cached more effectively.
|
||||
markers = ["impure", "with_core"]
|
||||
filterwarnings = "default::ResourceWarning"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user