diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 75cee7444..9aadb1e10 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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 diff --git a/noxfile.py b/noxfile.py index b2b158cb0..1b59a96ab 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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