[gh ci] less output ( --durations=50)#7989
Conversation
|
Thank you for the heads up - I will be working on all these related issues shortly - too much data indeed, but not just that. |
|
I'd say remove them complete for now and also -rA - I need to experiment and see how to make this data available w/o making logs unusable. |
|
More context on github actions: if we can somehow catch the return value of or something like that, we can make huge progress on the github actions issue and start making artifacts files. The reason artifacts files broke was that even in the below code, even if line 1 raises an error, line 2 succeeds so github actions thinks the job succeeded python -m pytest -n 1 --dist=loadfile -s examples --durations=50 | tee test_output.txt
save test_output.txt # always succeeds |
|
oh, unless I'm missing something, we don't need any of the workarounds. I already have the first requested component (failures) working, see: #7995 Check out the resulting artifacts: this is what we want right?
In your example instead of |
|
That's great, but note that this is all much easier in circleci. My ask is to make it work in github actions.
x= python -m pytest -n 1 --dist=loadfile -s examples --durations=50 | tee test_output.txt
save test_output.txt # always succeeds
sys.exit($x)? |
|
|
|
Ah, good point. let me see what other handy reports I can squeese in circle-ci and then I will move to github actions. I'm not following your question yet, let me get to github actions and then it'll probably make sense, but yes I'm referring to that example when I said:
i.e. |
Way too much output in this
This will make it slightly better.
cc @stas00