Skip to content

Commit 5ddec5d

Browse files
CopilotAlex-PLACET
andauthored
style: apply pre-commit formatting to CodSpeed workflow
Agent-Logs-Url: https://github.com/xtensor-stack/xtensor/sessions/56d2451c-ecd1-4214-8576-e1961071a7af Co-authored-by: Alex-PLACET <2400067+Alex-PLACET@users.noreply.github.com>
1 parent 3b2d78e commit 5ddec5d

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/codspeed.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,28 @@ jobs:
2424
name: Run benchmarks
2525
runs-on: ubuntu-latest
2626
steps:
27-
- name: Checkout code
28-
uses: actions/checkout@v6
29-
30-
- name: Set conda environment
31-
uses: mamba-org/setup-micromamba@main
32-
with:
33-
environment-name: myenv
34-
environment-file: environment-dev.yml
35-
init-shell: bash
36-
cache-downloads: true
37-
38-
- name: Build benchmarks
39-
run: |
40-
cmake -G Ninja -Bbuild \
41-
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
42-
-DBUILD_BENCHMARK=ON \
43-
-DXTENSOR_USE_XSIMD=ON \
44-
-DCODSPEED_MODE=simulation
45-
cmake --build build --target benchmark_xtensor --parallel 8
46-
47-
- name: Run benchmarks
48-
uses: CodSpeedHQ/action@v4
49-
with:
50-
mode: simulation
51-
run: ./build/benchmark/benchmark_xtensor
27+
- name: Checkout code
28+
uses: actions/checkout@v6
29+
30+
- name: Set conda environment
31+
uses: mamba-org/setup-micromamba@main
32+
with:
33+
environment-name: myenv
34+
environment-file: environment-dev.yml
35+
init-shell: bash
36+
cache-downloads: true
37+
38+
- name: Build benchmarks
39+
run: |
40+
cmake -G Ninja -Bbuild \
41+
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
42+
-DBUILD_BENCHMARK=ON \
43+
-DXTENSOR_USE_XSIMD=ON \
44+
-DCODSPEED_MODE=simulation
45+
cmake --build build --target benchmark_xtensor --parallel 8
46+
47+
- name: Run benchmarks
48+
uses: CodSpeedHQ/action@v4
49+
with:
50+
mode: simulation
51+
run: ./build/benchmark/benchmark_xtensor

0 commit comments

Comments
 (0)