File tree Expand file tree Collapse file tree 5 files changed +134
-83
lines changed
tutorials/contributing/strategy Expand file tree Collapse file tree 5 files changed +134
-83
lines changed Original file line number Diff line number Diff line change @@ -34,26 +34,28 @@ jobs:
3434 python -m pip install docutils==0.12
3535 python -m pip install mock
3636 cd docs; make clean; make html; cd ..;
37- - name : Install testing dependencies
37+ - name : Run tests
3838 run : |
3939 python -m pip install coverage
4040 python -m pip install hypothesis==3.2
41- python -m pip install mypy
42- - name : Run tests
43- run : |
4441 coverage run --source=axelrod -m unittest discover
4542 - name : Report coverage
4643 run : |
4744 coverage report -m --fail-under=100
48- - name : Run doctest
45+ - name : Run doctests
4946 run : |
5047 python doctests.py
5148 - name : Run static type checker
5249 run : |
50+ python -m pip install mypy
5351 python run_mypy.py
5452 - name : Check that all strategies are indexed
5553 run : |
5654 python run_strategy_indexer.py
55+ - name : Check that strategies are added to axelrod.all_strategies
56+ run : |
57+ python -m pip install pylint
58+ python -m pylint --disable=all --enable=unused-import axelrod/strategies/_strategies.py
5759 - name : Check that installs
5860 run : |
5961 python setup.py install
You can’t perform that action at this time.
0 commit comments