Skip to content

Commit d22a9a1

Browse files
committed
Debug CI
1 parent ebc36e5 commit d22a9a1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ jobs:
131131
run: |
132132
source ~/.profile
133133
conda activate anaconda-client-env
134-
pip install numba
135134
python -m pytest -x --only-numba-tests --cov=tskit.numba --cov-report=xml --cov-branch -n2 --durations=20 tests
136135
137136
- name: Upload coverage to Codecov

python/tests/tsutil.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ def add_random_metadata(ts, seed=1, max_length=10):
406406
offset = np.cumsum(np.hstack(([0], length)), dtype=np.uint32)
407407
# Older versions of numpy didn't have a dtype argument for randint, so
408408
# must use astype instead.
409+
print(offset[-1])
409410
metadata = np.random.randint(-127, 127, offset[-1]).astype(np.int8)
410411
nodes = tables.nodes
411412
nodes.set_columns(

0 commit comments

Comments
 (0)