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:
34
34
python -m pip install docutils==0.12
35
35
python -m pip install mock
36
36
cd docs; make clean; make html; cd ..;
37
- - name : Install testing dependencies
37
+ - name : Run tests
38
38
run : |
39
39
python -m pip install coverage
40
40
python -m pip install hypothesis==3.2
41
- python -m pip install mypy
42
- - name : Run tests
43
- run : |
44
41
coverage run --source=axelrod -m unittest discover
45
42
- name : Report coverage
46
43
run : |
47
44
coverage report -m --fail-under=100
48
- - name : Run doctest
45
+ - name : Run doctests
49
46
run : |
50
47
python doctests.py
51
48
- name : Run static type checker
52
49
run : |
50
+ python -m pip install mypy
53
51
python run_mypy.py
54
52
- name : Check that all strategies are indexed
55
53
run : |
56
54
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
57
59
- name : Check that installs
58
60
run : |
59
61
python setup.py install
You can’t perform that action at this time.
0 commit comments