Skip to content

Commit 8330eb6

Browse files
authored
Merge pull request #313 from lincc-frameworks/issue/267/upgrade-asv
Upgrade asv version
2 parents 788de82 + bb2231a commit 8330eb6

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: |
6767
sudo apt-get update
6868
python -m pip install --upgrade pip
69-
pip install asv==0.5.1 virtualenv tabulate
69+
pip install asv==0.6.1 virtualenv tabulate
7070

7171
- name: Configure git
7272
run: |
@@ -86,7 +86,7 @@ jobs:
8686
fi
8787

8888
- name: Run ASV for the main branch
89-
run: asv run ALL --skip-existing
89+
run: asv run ALL --skip-existing --verbose
9090

9191
- name: Submit new results to the "benchmarks" branch
9292
uses: JamesIves/github-pages-deploy-action@v4

python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
sudo apt-get update
4545
python -m pip install --upgrade pip
46-
pip install asv==0.5.1 virtualenv
46+
pip install asv==0.6.1 virtualenv
4747

4848
- name: Create ASV machine config file
4949
run: asv machine --machine gh-runner --yes
@@ -67,8 +67,8 @@ jobs:
6767

6868
if [ -f $HASH_FILE ]; then
6969
PREV_HASH=$(cat $HASH_FILE)
70-
asv continuous $PREV_HASH $CURRENT_HASH || true
71-
asv compare $PREV_HASH $CURRENT_HASH --sort ratio
70+
asv continuous $PREV_HASH $CURRENT_HASH --verbose || true
71+
asv compare $PREV_HASH $CURRENT_HASH --sort ratio --verbose
7272
fi
7373

7474
echo $CURRENT_HASH > $HASH_FILE

python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
sudo apt-get update
6363
python -m pip install --upgrade pip
64-
pip install asv==0.5.1 virtualenv tabulate lf-asv-formatter
64+
pip install asv==0.6.1 virtualenv tabulate lf-asv-formatter
6565

6666
- name: Get current job logs URL
6767
uses: Tiryoh/gha-jobid-action@v0
@@ -77,9 +77,9 @@ jobs:
7777
run: |
7878
git remote add upstream https://github.com/{% raw %}${{ github.repository }}{% endraw %}.git
7979
git fetch upstream
80-
asv continuous upstream/main HEAD || true
81-
asv compare upstream/main HEAD --sort ratio | tee output
82-
python -m lf_asv_formatter
80+
asv continuous upstream/main HEAD --verbose || true
81+
asv compare upstream/main HEAD --sort ratio --verbose | tee output
82+
python -m lf_asv_formatter --asv_version "$(echo asv --version)"
8383
printf "\n\nClick [here]($STEP_URL) to view all benchmarks." >> output
8484
env:
8585
STEP_URL: "{% raw %}${{ steps.jobs.outputs.html_url }}{% endraw %}#step:8:1"

python-project-template/pyproject.toml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dev = [
5454
"numpy", # Used in sample notebook intro_notebook.ipynb
5555
{%- endif %}
5656
{%- if include_benchmarks %}
57-
"asv==0.5.1", # Used to compute performance benchmarks
57+
"asv==0.6.1", # Used to compute performance benchmarks
5858
{%- endif %}
5959
]
6060

0 commit comments

Comments
 (0)