From 433b56b08c2b69a7c7a956bd6b3f80f32df97344 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 21 Jun 2020 02:44:04 -0500 Subject: [PATCH 1/2] Add ASV_FACTOR --- build-and-benchmark-py-project.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 1ec37f9..87da7d5 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -48,7 +48,7 @@ test_commit=`git rev-parse HEAD` asv run $master_commit...$master_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn asv run $test_commit...$test_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn -output=`asv compare $master_commit $test_commit --factor 1 -s` +output=`asv compare $master_commit $test_commit --factor ${ASV_FACTOR:-1} -s` echo "$output" if [[ "$output" = *"worse"* ]]; then -- GitLab From a491a0acc0715130ccb862427c972568bbc29b7a Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 21 Jun 2020 11:34:55 -0500 Subject: [PATCH 2/2] Print all branches --- build-and-benchmark-py-project.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 87da7d5..579b24c 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -57,5 +57,6 @@ if [[ "$output" = *"worse"* ]]; then fi if [[ "$CI_PROJECT_NAMESPACE" == "inducer" ]]; then + git branch -v asv publish --html-dir ~/.scicomp-benchmarks/asv/$PROJECT fi -- GitLab