From 41c37aea979d3f09e7c0ef4d8cae40d491b02440 Mon Sep 17 00:00:00 2001 From: Nathan McDougall Date: Tue, 16 Jul 2024 12:22:48 +1200 Subject: [PATCH] Add some extra information to help set up local pytest calls (#240) * Add some extra information to help set up local pytest calls * Revert bullet point style change --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9faeb122..127485a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,6 +49,13 @@ pytest pins -m 'not fs_rsc' # run only local filesystem backend tests pytest pins -m 'fs_file' + +# run all tests except those for S3 and GCS +pytest pins -m 'not fs_s3 and not fs_gcs' + +# run all tests except those using data on GitHub +# n.b. doctests cannot have marks https://github.com/pytest-dev/pytest/issues/5794 +pytest pins -m 'not skip_on_github' -k 'not pins.boards.BoardManual' ``` There are two important details to note for testing: