Open lit-af opened 5 months ago
I don't see the option "Workflow(s) awaiting approval" to trigger the GitHub Actions. Do you know what's wrong, @Letme ?
https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks
Several unit tests fail. One of them is tests/test_doxygen.py:test_multiline
The input of this test case is:
This1 should not be treated as warning
testfile.c:6: warning: group test: ignoring title "Some test functions" that does not match old title "Some freaky test functions"
This should not be treated as warning2
testfile.c:8: warning: group test: ignoring title "Some test functions" that does not match old title "Some freaky test functions"
Instead of counting 2 warnings, the DoxygenChecker counts only 1 warning:
testfile.c:6: warning: group test: ignoring title "Some test functions" that does not match old title "Some freaky test functions"
This should not be treated as warning2
testfile.c:8: warning: group test: ignoring title "Some test functions" that does not match old title "Some freaky test functions"
A multiline warning indents all but its first line, doesn't it? I think that the regex must make use of this to make the distinction between a multiline warning and a singleline warning followed by some gibberish.
I look into it. You might be onto something with the indents on the multiline warnings.
Can you please tell me how to run the tests locally?
You can run the tests with tox
in a virtual environment.
tox -e py310
when you have Python 3.10 or tox -e py311
when you have Python 3.11 etc.
Alternatively, use pytest after installing the package in editable mode:
pip3 install --editable .
pytest .
can you update with latest master just to see if the tests run now?
I think it would be good to move this forward a bit.
Sure. I'll try to find some time next week
Should fix: #135