Add conftest.py in order to fix pytest loading issues.
This commit is contained in:
parent
feb2f75e5d
commit
77550f9244
|
@ -90,7 +90,7 @@ jobs:
|
|||
if: ${{ contains(matrix.docker, 'fedora') }}
|
||||
- run: pip install coveralls
|
||||
- uses: actions/checkout@v2
|
||||
- run: python3 -m pytest
|
||||
- run: pytest
|
||||
- run: python3 -m cProfile -o profile.stats lint.py -V test/source/* test/binary/* > /dev/null
|
||||
- run: python3 test/dump_stats.py profile.stats
|
||||
- name: Collect the coveralls report
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
include Makefile
|
||||
include COPYING
|
||||
include README.md
|
||||
include conftest.py
|
||||
recursive-include configs *.toml
|
||||
recursive-include rpmlint *.toml
|
||||
recursive-include test *
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# Having this file, pytest will add project root to sys.path.
|
Loading…
Reference in New Issue