Skip to content

Commit aa218a3

Browse files
authored
Merge pull request #10414 from AvalancheHQ/cod-2066-analysis-mode-missing-for-codspeed-rust-causing-workflow
fix(ci): remove outdated `analysis` mode
2 parents 1fbd765 + 401eb89 commit aa218a3

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
type: [performance] # , memory] # memory profile disabled due to variance
25+
type: [simulation] # , memory] # memory profile disabled due to variance
2626
package: [
2727
uu_base64,
2828
uu_cksum,
@@ -78,18 +78,14 @@ jobs:
7878
shell: bash
7979
run: |
8080
echo "Building ${{ matrix.type }} benchmarks for ${{ matrix.package }}"
81-
if [ "${{ matrix.type }}" = "memory" ]; then
82-
cargo codspeed build -m analysis -p ${{ matrix.package }}
83-
else
84-
cargo codspeed build -p ${{ matrix.package }}
85-
fi
81+
cargo codspeed build -m ${{ matrix.type }} -p ${{ matrix.package }}
8682
8783
- name: Run ${{ matrix.type }} benchmarks for ${{ matrix.package }}
8884
uses: CodSpeedHQ/action@v4
8985
env:
9086
CODSPEED_LOG: debug
9187
with:
92-
mode: ${{ matrix.type == 'memory' && 'memory' || 'simulation' }}
88+
mode: ${{ matrix.type }}
9389
run: |
9490
echo "Running ${{ matrix.type }} benchmarks for ${{ matrix.package }}"
9591
cargo codspeed run -p ${{ matrix.package }} > /dev/null

0 commit comments

Comments
 (0)