Skip to content

Commit 0aab9ac

Browse files
committed
Tidy github actions config file.
Only install libraries when needed.
1 parent 9fc9454 commit 0aab9ac

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/config.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,27 @@ 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-
python -m pip install pylint
43-
- name: Run tests
44-
run: |
4541
coverage run --source=axelrod -m unittest discover
4642
- name: Report coverage
4743
run: |
4844
coverage report -m --fail-under=100
49-
- name: Run doctest
45+
- name: Run doctests
5046
run: |
5147
python doctests.py
5248
- name: Run static type checker
5349
run: |
50+
python -m pip install mypy
5451
python run_mypy.py
5552
- name: Check that all strategies are indexed
5653
run: |
5754
python run_strategy_indexer.py
58-
- name: Check that strategies are added to axl.all_strategies
55+
- name: Check that strategies are added to axelrod.all_strategies
5956
run: |
57+
python -m pip install pylint
6058
python -m pylint --disable=all --enable=unused-import axelrod/strategies/_strategies.py
6159
- name: Check that installs
6260
run: |

0 commit comments

Comments
 (0)