testing airspeedvelocity #122
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user