Skip to content

Commit

Permalink
more informative print output from pytest to debug mismatch between l…
Browse files Browse the repository at this point in the history
…ocal/github actions
  • Loading branch information
AlexanderFengler committed Mar 31, 2024
1 parent e9077a5 commit c577152
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: ruff check .

- name: Run tests
run: pytest -n auto -s
run: pytest -s

- name: build docs
run: mkdocs build
3 changes: 3 additions & 0 deletions tests/slow/test_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ def run_sample(model, sampler, step, expected):

@pytest.mark.parametrize(parameter_names, parameter_grid)
def test_simple_models(data_ddm, loglik_kind, backend, sampler, step, expected):
print('TEST INPUTS WERE: ')
print(loglik_kind, backend, sampler, step, expected)

model = hssm.HSSM(
data_ddm, loglik_kind=loglik_kind, model_config={"backend": backend}
)
Expand Down

0 comments on commit c577152

Please sign in to comment.