Skip to content

Commit f16da2a

Browse files
committed
Avoid rebuild due to change in env variable
1 parent 351e27e commit f16da2a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ run-tests: xcbeautify
4949

5050
test: build-tests run-tests
5151

52+
build-query-performance-tests:
53+
set -o pipefail \
54+
&& env RUN_QUERY_PERFORMANCE_TESTS=true \
55+
swift build --build-tests \
56+
--disable-automatic-resolution \
57+
--enable-experimental-prebuilts \
58+
--filter QueryPerformanceTests \
59+
2>&1 | xcbeautify --renderer github-actions
60+
5261
run-query-performance-tests:
5362
set -o pipefail \
5463
&& env RUN_QUERY_PERFORMANCE_TESTS=true \
@@ -58,9 +67,9 @@ run-query-performance-tests:
5867
--filter QueryPerformanceTests \
5968
2>&1 | tee test.log
6069
grep "ℹ️" test.log
61-
grep -v "\] Compiling" test.log | ./xcbeautify --renderer github-actions
70+
grep -v "\] Compiling" test.log | xcbeautify --renderer github-actions
6271

63-
test-query-performance: build-tests run-query-performance-tests
72+
test-query-performance: build-query-performance-tests run-query-performance-tests
6473

6574
test-fast:
6675
@echo Skipping image snapshot tests

0 commit comments

Comments
 (0)