Browse Source

test: Add test-snuba-full (#56333)

Subset of snuba tests (that involve API changes) will run the full test
suite instead of the reduced one

Right now this mirrors the prior set of Snuba tests (but will probably
be tweaked in the future)
Lyn Nagara 1 year ago
parent
commit
ec42ce621f
1 changed files with 12 additions and 0 deletions
  1. 12 0
      Makefile

+ 12 - 0
Makefile

@@ -144,6 +144,18 @@ test-snuba: create-db
 		-vv --cov . --cov-report="xml:.artifacts/snuba.coverage.xml"
 	@echo ""
 
+# snuba-full runs on API changes in Snuba
+test-snuba-full: create-db
+	@echo "--> Running full snuba tests"
+	pytest tests/snuba \
+		tests/sentry/eventstream/kafka \
+		tests/sentry/post_process_forwarder \
+		tests/sentry/snuba \
+		tests/sentry/search/events \
+		tests/sentry/event_manager \
+		-vv --cov . --cov-report="xml:.artifacts/snuba.coverage.xml"
+	pytest tests -m -vv -m snuba_ci
+	@echo ""
 
 test-tools:
 	@echo "--> Running tools tests"