Skip to content

Commit

Permalink
Remove a strategy to ensure test fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
drvinceknight committed Apr 15, 2020
1 parent 0aab9ac commit 924c793
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,37 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Check that documentation builds
run: |
python -m pip install sphinx
python -m pip install sphinx_rtd_theme
python -m pip install docutils==0.12
python -m pip install mock
cd docs; make clean; make html; cd ..;
- name: Run tests
run: |
python -m pip install coverage
python -m pip install hypothesis==3.2
coverage run --source=axelrod -m unittest discover
- name: Report coverage
run: |
coverage report -m --fail-under=100
- name: Run doctests
run: |
python doctests.py
- name: Run static type checker
run: |
python -m pip install mypy
python run_mypy.py
- name: Check that all strategies are indexed
run: |
python run_strategy_indexer.py
#- name: Check that documentation builds
#run: |
#python -m pip install sphinx
#python -m pip install sphinx_rtd_theme
#python -m pip install docutils==0.12
#python -m pip install mock
#cd docs; make clean; make html; cd ..;
#- name: Run tests
#run: |
#python -m pip install coverage
#python -m pip install hypothesis==3.2
#coverage run --source=axelrod -m unittest discover
#- name: Report coverage
#run: |
#coverage report -m --fail-under=100
#- name: Run doctests
#run: |
#python doctests.py
#- name: Run static type checker
#run: |
#python -m pip install mypy
#python run_mypy.py
#- name: Check that all strategies are indexed
#run: |
#python run_strategy_indexer.py
- name: Check that strategies are added to axelrod.all_strategies
run: |
python -m pip install pylint
python -m pylint --disable=all --enable=unused-import axelrod/strategies/_strategies.py
- name: Check that installs
run: |
python setup.py install
cd ..
python -c "import axelrod"
#- name: Check that installs
#run: |
#python setup.py install
#cd ..
#python -c "import axelrod"
1 change: 0 additions & 1 deletion axelrod/strategies/_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from .appeaser import Appeaser
from .averagecopier import AverageCopier, NiceAverageCopier
from .axelrod_first import (
FirstByDavis,
FirstByFeld,
FirstByGraaskamp,
FirstByGrofman,
Expand Down

0 comments on commit 924c793

Please sign in to comment.