Document "racking model" for temperature models (#2293) #3675
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: asv | |
# CI ASV CHECK is aimed to verify that the benchmarks execute without error. | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
quick-benchmarks: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install asv | |
run: pip install asv==0.4.2 | |
# asv 0.4.2 (and more recent versions as well) creates conda envs | |
# using the --force option, which was removed in conda 24.3. | |
# Since ubuntu-latest now comes with conda 24.3 pre-installed, | |
# using the system's conda will result in error. | |
# To prevent that, we install an older version. | |
# TODO: remove this when we eventually upgrade our asv version. | |
# https://github.com/airspeed-velocity/asv/issues/1396 | |
- name: Install Conda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
conda-version: 24.1.2 | |
- name: Run asv benchmarks | |
run: | | |
cd benchmarks | |
asv machine --yes | |
asv run HEAD^! --quick --dry-run --show-stderr |