Skip to content

Commit

Permalink
Try to debug GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dostuffthatmatters committed Jan 31, 2024
1 parent 3e01748 commit 33ebb43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
# run test suite
- name: Run pytests
run: |
pytest -m "quick or ci" --verbose --exitfirst --cov=src tests/
pytest -m "quick or ci" --capture=no --verbose --exitfirst --cov=src tests/
8 changes: 6 additions & 2 deletions tests/retrieval/test_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,12 @@ def _run(
if len(active_processes) == 0 and len(pending_processes) == 0:
break

if len(newly_finished_processes) == 0:
time.sleep(2)
time.sleep(1)
print("Waiting ...")
print(
f"Pending | Active | Finished: {len(pending_processes)} |" +
f" {len(active_processes)} | {len(finished_processes)}"
)


def _point_config_to_test_data(config: src.types.Config) -> None:
Expand Down
1 change: 0 additions & 1 deletion tests/retrieval/test_get_ils_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
@pytest.mark.quick
def test_get_ils_params() -> None:
for month in [1, 5, 11]:
print(month)
src.retrieval.utils.ils.get_ils_params(
61, datetime.date(2020, month, 1)
)
Expand Down

0 comments on commit 33ebb43

Please sign in to comment.