File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 sudo pip3 install pexpect
2828 sudo pip3 install pylint
2929 sudo pip3 install unittest2
30+ sudo pip install pytest
31+ sudo pip3 install pytest
3032
3133 - name : run Shellcheck
3234 run : |
4648 - name : check .json files
4749 run : |
4850 find . -name '*.json' | xargs -n 1 python3 -m json.tool > /dev/null
51+
52+ - name : test addons
53+ run : |
54+ make -s
55+ PYTHONPATH=./addons python -m pytest addons/test/test-*.py
56+ PYTHONPATH=./addons python3 -m pytest addons/test/test-*.py
57+
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ script:
203203 - cd ../cppcheck\ 2/test/cli # path with space
204204 - python -m pytest test-*.py
205205 - cd -
206- # Testing addons (temporarily disabled because Travis fails)
206+ # Testing addons (disabled 2020-11-24 because Travis fails, TODO try to enable these)
207+ # - PYTHONPATH=./addons python -m pytest addons/test/test-*.py
207208# - PYTHONPATH=./addons python3 -m pytest addons/test/test-*.py
208209
209210notifications :
You can’t perform that action at this time.
0 commit comments