testing airspeedvelocity #122

Merged
brent.edwards merged 4 commits from mngrif-asv-test into master 2026-02-19 19:16:07 +00:00
2 changed files with 15 additions and 10 deletions
+13 -9
View File
@@ -251,15 +251,17 @@ jobs:
ASV_BASE_SHA: ${{ steps.hash.outputs.ASV_BASE_SHA }}
run: |
nox -s benchmark_regression
- name: Archive the results
run: |
tar cf /tmp/asv-results.tar build/asv/results build/asv/html
- name: Upload benchmark artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: asv-results-pr
path: |
build/asv/results
build/asv/html
path: /tmp/asv-results.tar
rentention-days: 30
benchmark-publish:
@@ -307,15 +309,17 @@ jobs:
aws s3 sync build/asv/results "s3://${ASV_S3_BUCKET}/asv/results" --delete
aws s3 sync build/asv/html "s3://${ASV_S3_BUCKET}/asv/html" --delete
- name: Upload benchmark artifacts
- name: Archive the results
run: |
tar cf /tmp/asv-results.tar build/asv/results build/asv/html
- name: Upload benchmark artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: asv-results
path: |
build/asv/results
build/asv/html
rentention-days: 0
name: asv-results-pr
path: /tmp/asv-results.tar
rentention-days: 30
build:
runs-on: docker
+2 -1
View File
@@ -713,12 +713,13 @@ def benchmark_regression(session: nox.Session):
"--append-samples",
"--show-stderr",
"--verbose",
f"--factor=1.10",
f"--factor=1.50",
f"--config={config_path}",
asv_base_sha,
"HEAD",
success_codes=[0, 2],
)
session.run("asv", "publish", f"--config={config_path}")
# Sessions to run by default when running `nox` without arguments