Skip to content

Commit

Permalink
move flaky checks to separate test target
Browse files Browse the repository at this point in the history
  • Loading branch information
kingarrrt committed Oct 16, 2023
1 parent 50b53a7 commit f7dece3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pyproject
Submodule .pyproject updated 1 files
+7 −9 Makefile
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ include .pyproject/Makefile

$(eval $(call TEST,packages))

.test-unit .test-functional: export DISTINFO_RAISE_ON_HIT=0
test-unit test-functional: export DISTINFO_RAISE_ON_HIT=0

NUM_PROCESSES ?= logical

.test-acceptance .test-packages: override ARGS += --numprocesses=$(NUM_PROCESSES)
test-acceptance test-packages: override ARGS += --numprocesses=$(NUM_PROCESSES)

FLAKE_RUNS ?= 30

FLAKE_MAX_MINUTES ?= 5

test-acceptance: override ARGS += --flake-finder --flake-runs=$(FLAKE_RUNS) --flake-max-minutes=$(FLAKE_MAX_MINUTES) -x
test-flaky: override ARGS += \
--flake-finder \
--flake-runs=$(FLAKE_RUNS) \
-x
test-flaky: test-acceptance

0 comments on commit f7dece3

Please sign in to comment.