Closed matthewfeickert closed 2 years ago
It's possible something went wrong with the config unnoticed, but IIRC it was only producing pytest_results
if there were image comparison failures. Since the test you are linking above is failing with a ValueError
the behaviour should be fine.
Since the test you are linking above is failing with a
ValueError
the behaviour should be fine.
Okay, then I guess this can get closed, right?
(P.S. I saw that for some reason the "pages build and deployment" workflow failed for PR #374, so I went ahead and restarted it and it passed, so that PR is all green on master
now. :+1:)
👍 I'll keep an eye for the ValueError as it shows up in the cron.
When I ran the workflow in which
matplotlib
should fail ontest_histplot_kwargs
, at the upload stage I gotc.f. https://github.com/scikit-hep/mplhep/runs/5793696689?check_suite_focus=true
Logs:
``` Run pytest -r sa --mpl --mpl-results-path=pytest_results ============================= test session starts ============================== platform linux -- Python 3.10.2, pytest-[7](https://github.com/scikit-hep/mplhep/runs/5793696689?check_suite_focus=true#step:7:7).1.1, pluggy-1.0.0 Matplotlib: 3.6.0.dev194[8](https://github.com/scikit-hep/mplhep/runs/5793696689?check_suite_focus=true#step:7:8)+gd8ede1a710 Freetype: 2.6.1 rootdir: /home/runner/work/mplhep/mplhep plugins: mock-3.7.0, github-actions-annotate-failures-0.1.6, mpl-0.14.0 collected [9](https://github.com/scikit-hep/mplhep/runs/5793696689?check_suite_focus=true#step:7:9)1 items Error: test_histplot_kwargs ValueError: At least one value in the dash list must be positive tests/test_basic.py ...............F.............................. [ 50%] tests/test_inputs.py ...ss.. [ 58%] tests/test_mock.py .. [ 60%] tests/test_styles.py .....ssssssssssssssssssssssssssss..s [[10](https://github.com/scikit-hep/mplhep/runs/5793696689?check_suite_focus=true#step:7:10)0%] =================================== FAILURES =================================== _____________________________ test_histplot_kwargs _____________________________ args = (), kwargs = {}, fig =Not sure why that is.
@andrzejnovak Can you link to an example where this worked in the past?
_Originally posted by @matthewfeickert in https://github.com/scikit-hep/mplhep/pull/374#discussion_r840871497_