Skip to content

Commit ad6c741

Browse files
committed
Revert "Remove a strategy to ensure test fails."
This reverts commit be97ec1.
1 parent be97ec1 commit ad6c741

File tree

2 files changed

+31
-30
lines changed

2 files changed

+31
-30
lines changed

.github/workflows/config.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,37 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
python -m pip install -r requirements.txt
30-
#- name: Check that documentation builds
31-
#run: |
32-
#python -m pip install sphinx
33-
#python -m pip install sphinx_rtd_theme
34-
#python -m pip install docutils==0.12
35-
#python -m pip install mock
36-
#cd docs; make clean; make html; cd ..;
37-
#- name: Run tests
38-
#run: |
39-
#python -m pip install coverage
40-
#python -m pip install hypothesis==3.2
41-
#coverage run --source=axelrod -m unittest discover
42-
#- name: Report coverage
43-
#run: |
44-
#coverage report -m --fail-under=100
45-
#- name: Run doctests
46-
#run: |
47-
#python doctests.py
48-
#- name: Run static type checker
49-
#run: |
50-
#python -m pip install mypy
51-
#python run_mypy.py
52-
#- name: Check that all strategies are indexed
53-
#run: |
54-
#python run_strategy_indexer.py
30+
- name: Check that documentation builds
31+
run: |
32+
python -m pip install sphinx
33+
python -m pip install sphinx_rtd_theme
34+
python -m pip install docutils==0.12
35+
python -m pip install mock
36+
cd docs; make clean; make html; cd ..;
37+
- name: Run tests
38+
run: |
39+
python -m pip install coverage
40+
python -m pip install hypothesis==3.2
41+
coverage run --source=axelrod -m unittest discover
42+
- name: Report coverage
43+
run: |
44+
coverage report -m --fail-under=100
45+
- name: Run doctests
46+
run: |
47+
python doctests.py
48+
- name: Run static type checker
49+
run: |
50+
python -m pip install mypy
51+
python run_mypy.py
52+
- name: Check that all strategies are indexed
53+
run: |
54+
python run_strategy_indexer.py
5555
- name: Check that strategies are added to axelrod.all_strategies
5656
run: |
5757
python -m pip install pylint
5858
python -m pylint --disable=all --enable=unused-import axelrod/strategies/_strategies.py
59-
#- name: Check that installs
60-
#run: |
61-
#python setup.py install
62-
#cd ..
63-
#python -c "import axelrod"
59+
- name: Check that installs
60+
run: |
61+
python setup.py install
62+
cd ..
63+
python -c "import axelrod"

axelrod/strategies/_strategies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@
340340
EvolvedLookerUp2_2_2,
341341
FirmButFair,
342342
FirstByAnonymous,
343+
FirstByDavis,
343344
FirstByDowning,
344345
FirstByFeld,
345346
FirstByGraaskamp,

0 commit comments

Comments
 (0)