Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Dec 20, 2024
1 parent 9de65b2 commit b9f9f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:
timeout-minutes: 15
if: ${{ !startsWith( matrix.python-version, 'pypy' ) && !startsWith(matrix.os, 'windows') }}
run: |
PYTHONTRACEMALLOC=20 hatch run cov:test --cov-fail-under 50 -k test_print_to_correct_cell_from_child_thread || PYTHONTRACEMALLOC=20 hatch run test:test --lf -k test_print_to_correct_cell_from_child_thread
PYTHONTRACEMALLOC=20 hatch run cov:test --cov-fail-under 50 || PYTHONTRACEMALLOC=20 hatch run test:test --lf
- name: Run the tests on pypy
timeout-minutes: 15
if: ${{ startsWith( matrix.python-version, 'pypy' ) }}
run: |
PYTHONTRACEMALLOC=20 hatch run test:nowarn -k test_print_to_correct_cell_from_child_thread || PYTHONTRACEMALLOC=20 hatch run test:nowarn --lf -k test_print_to_correct_cell_from_child_thread
PYTHONTRACEMALLOC=20 hatch run test:nowarn || PYTHONTRACEMALLOC=20 hatch run test:nowarn --lf
- name: Run the tests on Windows
timeout-minutes: 15
Expand All @@ -70,7 +70,7 @@ jobs:
hatch run test:pip list
hatch run test:python --version
#hatch run test:python -m pip install git+https://github.com/ipython/ipython@92dd9e47fe8862ee38770744c165b680cb5241b1
PYTHONTRACEMALLOC=20 hatch run test:pytest -v -k test_print_to_correct_cell_from_child_thread
PYTHONTRACEMALLOC=20 hatch run test:pytest -v
- name: Check Launcher
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/test_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def child_target():
sleep({interval})
def parent_target():
sleep({interval})
Thread(target=child_target).start()
sleep({interval * iterations})
Thread(target=parent_target).start()
"""
Expand Down

0 comments on commit b9f9f73

Please sign in to comment.