From e9f0a41cafcf530f384d402b03099f3a9ffe6844 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Tue, 4 Feb 2025 16:02:04 +0100 Subject: [PATCH 1/2] chore(ci): add walltime divan benches --- .github/workflows/ci.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10b9490b..d4a0c510 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - uses: moonrepo/setup-rust@v1 - run: cargo test --all - compat-integration-test: + compat-integration-test-instrumentation: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -58,3 +58,21 @@ jobs: with: run: cargo codspeed run token: ${{ secrets.CODSPEED_TOKEN }} + + compat-integration-test-walltime: + runs-on: codspeed-macro + steps: + - uses: actions/checkout@v4 + - uses: moonrepo/setup-rust@v1 + with: + cache-target: release + + - run: cargo install --path crates/cargo-codspeed --locked + + - run: cargo codspeed build -p codspeed-divan-compat + + - name: Run the benchmarks + uses: CodSpeedHQ/action@main + with: + run: cargo codspeed run + token: ${{ secrets.CODSPEED_TOKEN }} From 209374e1bc7e49221879f3348a364365992ae065 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Tue, 4 Feb 2025 16:15:56 +0100 Subject: [PATCH 2/2] chore(ci): run the CI workflow on any pull request base --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4a0c510..6a63b09f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ on: push: branches: [main] pull_request: - branches: [main] workflow_dispatch: jobs: