File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99 @bundle exec ruby -e " require \" rake/rake_test_loader\" " test/* _test.rb
1010
1111mutate :
12+ $(eval ROOT_COMMIT := $(shell git rev-list --max-parents=0 HEAD) )
1213 $(eval SUBJECTS_TO_RUN := $(strip $(CI_MUTATE_SUBJECTS ) ) )
1314 $(eval TEMP_ACTUAL_MUTANT_ARGS :=)
1415
@@ -23,7 +24,7 @@ ifeq ($(MUTANT_MODE_INTERNAL),incremental)
2324 endif
2425
2526 @echo " MUTANT_SINCE_TARGET_INTERNAL appears to be set and non-empty: '[$(MUTANT_SINCE_TARGET_INTERNAL)]'"
26- $(eval TEMP_ACTUAL_MUTANT_ARGS := --since $(MUTANT_SINCE_TARGET_INTERNAL ))
27+ $(eval TEMP_ACTUAL_MUTANT_ARGS := --since $(ROOT_COMMIT ))
2728 @echo " Action: Set for Incremental Mutation."
2829 @echo " Target for --since: '$(MUTANT_SINCE_TARGET_INTERNAL)'"
2930else
Original file line number Diff line number Diff line change 66 @$(MAKE ) -j 10 web css
77
88mutate : # # Run mutation tests
9+ $(eval ROOT_COMMIT := $(shell git rev-list --max-parents=0 HEAD) )
910 $(eval ACTUAL_MUTANT_ARGS :=)
1011 $(eval SUBJECTS_TO_RUN := $(strip $(CI_MUTATE_SUBJECTS ) ) )
1112
@@ -14,7 +15,7 @@ ifeq ($(MUTANT_MODE),incremental)
1415 ifndef MUTANT_SINCE_TARGET
1516 $(error MUTANT_MODE is 'incremental', but MUTANT_SINCE_TARGET is not set. This variable should be set by the CI workflow.)
1617 endif
17- $(eval ACTUAL_MUTANT_ARGS := --since $(MUTANT_SINCE_TARGET ))
18+ $(eval ACTUAL_MUTANT_ARGS := --since $(ROOT_COMMIT ))
1819 @echo "Mutation Mode: Incremental"
1920 @echo "Target for --since: $(MUTANT_SINCE_TARGET)"
2021else
You can’t perform that action at this time.
0 commit comments