Skip to content

Commit 0af4ea1

Browse files
committed
run pytests/benchmarks as final command in step to not ignore exit code
1 parent 964066b commit 0af4ea1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,9 @@ jobs:
476476
pip install -r tests/requirements.txt
477477
pip install pydantic-core --no-index --no-deps --find-links pgo-wheel --force-reinstall
478478
pytest tests/benchmarks
479-
rustup run stable bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/${{ env.RUST_HOST }}/bin/llvm-profdata >> "$GITHUB_ENV"'
479+
480+
- name: deduce llvm-profdata location
481+
run: rustup run stable bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/${{ env.RUST_HOST }}/bin/llvm-profdata >> "$GITHUB_ENV"'
480482

481483
- name: merge pgo data
482484
run: ${{ env.LLVM_PROFDATA }} merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata

0 commit comments

Comments
 (0)