Skip to content

typo fixing of pvwatts_dc (#2175) #64

typo fixing of pvwatts_dc (#2175)

typo fixing of pvwatts_dc (#2175) #64

Workflow file for this run

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@v3
with:
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v3
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