Skip to content

Commit bea3b0d

Browse files
committed
Fix Makefile to use publish config and fix branches config
1 parent 74bdc22 commit bea3b0d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ publish: dist ## publish python assets
108108
.PHONY: benchmark benchmarks benchmark-quick benchmark-local benchmark-view benchmark-compare
109109

110110
ASV_CONFIG := $(CURDIR)/csp_benchmarks/asv.conf.json
111+
ASV_PUBLISH_CONFIG := $(CURDIR)/csp_benchmarks/asv.publish.conf.json
111112

112113
benchmark: ## run benchmarks for current commit
113114
python -m asv run --config $(ASV_CONFIG) --verbose HEAD^!
@@ -122,8 +123,8 @@ benchmark-compare: ## compare benchmarks between commits
122123
python -m asv compare --config $(ASV_CONFIG) HEAD~1 HEAD
123124

124125
benchmark-view: ## generate and view benchmark results
125-
python -m asv publish --config $(ASV_CONFIG)
126-
python -m asv preview --config $(ASV_CONFIG)
126+
python -m asv publish --config $(ASV_PUBLISH_CONFIG)
127+
python -m asv preview --config $(ASV_PUBLISH_CONFIG)
127128

128129
benchmark-continuous: ## run benchmarks comparing HEAD to main
129130
python -m asv continuous --config $(ASV_CONFIG) main HEAD --verbose

csp_benchmarks/asv.publish.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"project": "csp",
44
"project_url": "https://github.com/Point72/csp",
55
"repo": "https://github.com/Point72/csp.git",
6-
"branches": ["main"],
6+
"branches": ["HEAD"],
77
"dvcs": "git",
88

99
"environment_type": "virtualenv",

0 commit comments

Comments
 (0)