Add examples for run_model_from_poa() and run_model_from_effective_irradiance() #4761
Workflow file for this run
This file contains hidden or 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.12' | |
| - name: Install asv | |
| run: pip install asv==0.6.4 | |
| - name: Run asv benchmarks | |
| run: | | |
| cd benchmarks | |
| asv machine --yes | |
| asv run HEAD^! --quick --dry-run --show-stderr |