Skip to content

Commit

Permalink
fix ?
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Oct 18, 2024
1 parent 9bd57b1 commit 6215b4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools
components: llvm-tools-preview

- name: Cache Rust
uses: Swatinem/rust-cache@v2
Expand All @@ -153,7 +153,7 @@ jobs:
shell: bash

- name: Generate profile data
run: pytest --dist=no -n0 --benchmark-enable differt/tests/benchmarks
run: just test-python --dist=no -n0 --benchmark-enable differt/tests/benchmarks

- name: Merge PGO data
run: rustup run stable bash -c '$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/${{ env.RUST_HOST }}/bin/llvm-profdata merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata'
Expand All @@ -164,12 +164,12 @@ jobs:
RUSTFLAGS: -Cprofile-use=${{ github.workspace }}/merged.profdata

- name: Re-run benchmarks
run: pytest --dist=no -n0 --benchmark-enable differt/tests/benchmarks
run: just test-python --dist=no -n0 --benchmark-enable differt/tests/benchmarks

- name: Run CodSpeed benchmarks
uses: CodSpeedHQ/action@v3
with:
run: pytest differt/tests/benchmarks --codspeed
run: just test-python differt/tests/benchmarks --codspeed

rust-benchmark:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6215b4c

Please sign in to comment.