Skip to content

Commit cecb319

Browse files
youknowoneclaude
andcommitted
Revert to cargo build with env vars for coverage
cargo llvm-cov doesn't have a build subcommand. Use environment variables from show-env with regular cargo build. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9fc0960 commit cecb319

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ jobs:
282282
- name: Clean coverage data
283283
run: cargo llvm-cov clean --workspace
284284
- name: build rustpython
285-
run: cargo llvm-cov build --no-report --release --target-dir target --verbose --features=threading ${{ env.CARGO_ARGS }}
285+
run: cargo build --release --verbose --features=threading ${{ env.CARGO_ARGS }}
286286
if: runner.os == 'macOS'
287287
- name: build rustpython
288-
run: cargo llvm-cov build --no-report --release --target-dir target --verbose --features=threading ${{ env.CARGO_ARGS }},jit
288+
run: cargo build --release --verbose --features=threading ${{ env.CARGO_ARGS }},jit
289289
if: runner.os != 'macOS'
290290
- uses: actions/setup-python@v6.1.0
291291
with:
@@ -335,7 +335,7 @@ jobs:
335335
run: python -I whats_left.py
336336

337337
- name: Generate coverage report
338-
run: cargo llvm-cov report --release --target-dir target --lcov --output-path=codecov.lcov
338+
run: cargo llvm-cov report --release --lcov --output-path=codecov.lcov
339339
- name: Upload coverage artifact
340340
uses: actions/upload-artifact@v4
341341
with:

0 commit comments

Comments
 (0)