Skip to content

Commit bd809ce

Browse files
committed
Set python args to be like CPython in CI (ish)
1 parent 0009dd6 commit bd809ce

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ env:
3434
CARGO_PROFILE_RELEASE_DEBUG: 0
3535
CARGO_TERM_COLOR: always
3636
CI: true
37+
FORCE_COLOR: 1
3738

3839
jobs:
3940
determine_changes:
@@ -359,7 +360,7 @@ jobs:
359360
360361
- name: Run CPython tests
361362
run: |
362-
target/release/rustpython -m test -j ${{ steps.cores.outputs.cores }} ${{ join(matrix.extra_test_args, ' ') }} --slowest --fail-env-changed --timeout 600 -v -x ${{ env.FLAKY_MP_TESTS }} ${{ join(matrix.skips, ' ') }}
363+
target/release/rustpython -u -m test -j ${{ steps.cores.outputs.cores }} ${{ join(matrix.extra_test_args, ' ') }} --slowest --fail-env-changed --timeout 600 -x ${{ env.FLAKY_MP_TESTS }} ${{ join(matrix.skips, ' ') }}
363364
timeout-minutes: ${{ matrix.timeout }}
364365
env:
365366
RUSTPYTHON_SKIP_ENV_POLLUTERS: true
@@ -370,7 +371,7 @@ jobs:
370371
echo "::group::Attempt ${attempt}"
371372
372373
set +e
373-
target/release/rustpython -m test -j 1 ${{ join(matrix.extra_test_args, ' ') }} --slowest --fail-env-changed --timeout 600 -v ${{ env.FLAKY_MP_TESTS }}
374+
target/release/rustpython -u -m test -j 1 ${{ join(matrix.extra_test_args, ' ') }} --slowest --fail-env-changed --timeout 600 ${{ env.FLAKY_MP_TESTS }}
374375
status=$?
375376
set -e
376377
@@ -395,7 +396,7 @@ jobs:
395396
for thing in "${target_array[@]}"; do
396397
for i in $(seq 1 10); do
397398
set +e
398-
target/release/rustpython -m test -j 1 --slowest --fail-env-changed --timeout 600 -v "${thing}"
399+
target/release/rustpython -u -m test -j 1 --slowest --fail-env-changed --timeout 600 "${thing}"
399400
exit_code=$?
400401
set -e
401402
if [ "${exit_code}" -eq 3 ]; then

0 commit comments

Comments
 (0)