File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -196,8 +196,23 @@ jobs:
196
196
- name : Install test requirements
197
197
run : pip install -r requirements-test.txt
198
198
199
+ - name : Prepate setup.py for test run
200
+ run : |
201
+ touch setup.py
202
+ echo "try:" >> setup.py
203
+ echo " from setuptools import setup" >> setup.py
204
+ echo "except ImportError:" >> setup.py
205
+ echo " from distutils.core import setup" >> setup.py
206
+ echo "cmdclass={}" >> setup.py
207
+ echo "try:" >> setup.py
208
+ echo " from test.setup_command import test" >> setup.py
209
+ echo " cmdclass[test] = test" >> setup.py
210
+ echo "except ImportError:" >> setup.py
211
+ echo " pass" >> setup.py
212
+ echo "setup(cmdclass=cmdclass)" >> setup.py
213
+
199
214
- name : Run tests
200
- run : python -m unittest
215
+ run : make test
201
216
202
217
run_tests_ce_windows :
203
218
# We want to run on external PRs, but not on our own internal
You can’t perform that action at this time.
0 commit comments