Skip to content

Commit 3f41b76

Browse files
committed
Fix whats_left.py command usage
Fixing "error: the package 'rustpython' does not contain these features: --features, --no-default-features"
1 parent f9b7c04 commit 3f41b76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,12 @@ jobs:
421421
testvenv/bin/rustpython -m pip install wheel
422422
- if: runner.os != 'macOS'
423423
name: Check whats_left is not broken
424-
run: python -I whats_left.py --features "threading ${{ env.CARGO_ARGS }},jit"
424+
shell: bash
425+
run: python -I whats_left.py --features "$(sed -e 's/^--[^ ]*//' \"${{ env.CARGO_ARGS }}\"),threading,jit"
425426
- if: runner.os == 'macOS' # TODO fix jit on macOS
426427
name: Check whats_left is not broken (macOS)
427-
run: python -I whats_left.py --features "threading ${{ env.CARGO_ARGS }}" # no jit on macOS for now
428+
shell: bash
429+
run: python -I whats_left.py --features "$(sed -e 's/^--[^ ]*//' \"${{ env.CARGO_ARGS }}\"),threading" # no jit on macOS for now
428430

429431
lint:
430432
name: Check Rust code with clippy

0 commit comments

Comments
 (0)