9797 python -m pip install requests
9898 python -m pip install psutil
9999 python -m pip install setuptools
100+ python -m pip install -r tools/donate-cpu-server-requirements.txt
101+ python -m pip install httpx
100102
101103 - name : run Shellcheck
102104 if : matrix.python-latest
@@ -107,7 +109,7 @@ jobs:
107109 if : matrix.python-latest
108110 run : |
109111 shopt -s globstar
110- pylint --jobs $(nproc) --py-version 3.7 addons/**/*.py htmlreport/cppcheck-htmlreport htmlreport /**/*.py test/**/*.py tools/**/*.py
112+ pylint --jobs $(nproc) --py-version 3.7 addons/**/*.py reports/ htmlreport/cppcheck-htmlreport reports /**/*.py test/**/*.py tools/**/*.py
111113
112114 - name : check .json files
113115 if : matrix.python-latest
@@ -123,8 +125,8 @@ jobs:
123125 run : |
124126 shopt -s globstar
125127 python -m py_compile addons/**/*.py
126- python -m py_compile htmlreport/cppcheck-htmlreport
127- python -m py_compile htmlreport /**/*.py
128+ python -m py_compile reports/ htmlreport/cppcheck-htmlreport
129+ python -m py_compile reports /**/*.py
128130 python -m py_compile test/**/*.py
129131 python -m py_compile tools/**/*.py
130132
@@ -165,7 +167,7 @@ jobs:
165167 python -m venv venv
166168 source venv/bin/activate
167169 python -m pip install -U pip
168- pip install ./htmlreport/
170+ pip install ./reports/ htmlreport/
169171 which cppcheck-htmlreport
170172 PIP_PACKAGE_TEST=1 test/tools/htmlreport/test_htmlreport.py
171173 # TODO: does not test the pip binary
@@ -191,6 +193,18 @@ jobs:
191193 env :
192194 PYTHONPATH : ./tools
193195
196+ - name : test donate_cpu_server_rest
197+ run : |
198+ python -m pytest -Werror --strict-markers -vv test/tools/donate_cpu_server_rest_test.py
199+ env :
200+ PYTHONPATH : ./tools
201+
202+ # the javascript tests use the node that is installed on the runner
203+ - name : test explorer report
204+ run : |
205+ node --version
206+ python -m pytest -Werror --strict-markers -vv test/tools/explorer/
207+
194208 - name : Show all ignored files
195209 if : false # TODO: currently lists all the contents of ignored folders - we only need what actually matched
196210 run : |
0 commit comments