run addon pytest scripts in github action because something fails on travis
This commit is contained in:
parent
1ea89bcad8
commit
f145ae967d
|
@ -27,6 +27,8 @@ jobs:
|
||||||
sudo pip3 install pexpect
|
sudo pip3 install pexpect
|
||||||
sudo pip3 install pylint
|
sudo pip3 install pylint
|
||||||
sudo pip3 install unittest2
|
sudo pip3 install unittest2
|
||||||
|
sudo pip install pytest
|
||||||
|
sudo pip3 install pytest
|
||||||
|
|
||||||
- name: run Shellcheck
|
- name: run Shellcheck
|
||||||
run: |
|
run: |
|
||||||
|
@ -46,3 +48,10 @@ jobs:
|
||||||
- name: check .json files
|
- name: check .json files
|
||||||
run: |
|
run: |
|
||||||
find . -name '*.json' | xargs -n 1 python3 -m json.tool > /dev/null
|
find . -name '*.json' | xargs -n 1 python3 -m json.tool > /dev/null
|
||||||
|
|
||||||
|
- name: test addons
|
||||||
|
run: |
|
||||||
|
make -s
|
||||||
|
PYTHONPATH=./addons python -m pytest addons/test/test-*.py
|
||||||
|
PYTHONPATH=./addons python3 -m pytest addons/test/test-*.py
|
||||||
|
|
||||||
|
|
|
@ -203,7 +203,8 @@ script:
|
||||||
- cd ../cppcheck\ 2/test/cli # path with space
|
- cd ../cppcheck\ 2/test/cli # path with space
|
||||||
- python -m pytest test-*.py
|
- python -m pytest test-*.py
|
||||||
- cd -
|
- cd -
|
||||||
# Testing addons (temporarily disabled because Travis fails)
|
# Testing addons (disabled 2020-11-24 because Travis fails, TODO try to enable these)
|
||||||
|
# - PYTHONPATH=./addons python -m pytest addons/test/test-*.py
|
||||||
# - PYTHONPATH=./addons python3 -m pytest addons/test/test-*.py
|
# - PYTHONPATH=./addons python3 -m pytest addons/test/test-*.py
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|
Loading…
Reference in New Issue