Skip to content

Commit d608fdd

Browse files
authored
Merge pull request #1332 from Axelrod-Python/add-original-gradual-to-list
Add Original Gradual to the list of all strategies.
2 parents e47edff + ad6c741 commit d608fdd

File tree

5 files changed

+134
-83
lines changed

5 files changed

+134
-83
lines changed

.github/workflows/config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)