-
Notifications
You must be signed in to change notification settings - Fork 281
Move to GitHub actions #1309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Move to GitHub actions #1309
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
b940b39
Add github actions and remove travis
drvinceknight 9c59b20
Add an error so docs do not build.
drvinceknight 46bf990
Revert "Add an error so docs do not build."
drvinceknight 20aa7b0
Add an error so unit tests fail.
drvinceknight fd3456e
Revert "Add an error so unit tests fail."
drvinceknight 386f4cd
Remove unit tests so coverage fails.
drvinceknight 5365f98
Revert "Remove unit tests so coverage fails."
drvinceknight dbe8a12
Report coverage separately.
drvinceknight 16ae21f
Add an error in type hinting.
drvinceknight f3fad7d
Revert "Add an error in type hinting."
drvinceknight d6d7de9
Add error to doctests.
drvinceknight dd54a88
Revert "Add error to doctests."
drvinceknight 2bf4699
Add error to strategy index.
drvinceknight 9bafd4c
Revert "Add error to strategy index."
drvinceknight 3acab96
Add error to setup.py
drvinceknight e7a23e2
Revert "Add error to setup.py"
drvinceknight 5f08050
Remove unnecessary badges.
drvinceknight a0bb6f3
Fix py >= 3.6 in README and setup.py
drvinceknight 97fa65f
Fix broken data file imports.
drvinceknight f4bd6ab
Add a test that library installs properly
drvinceknight 61e09eb
Merge branch 'fix-missing-yml-fil' into move-to-github-actions
drvinceknight File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| name: CI | ||
|
|
||
| on: [push, pull_request] | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| max-parallel: 4 | ||
| matrix: | ||
| os: [ubuntu-latest, windows-latest] | ||
| python-version: [3.6, 3.7] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v1 | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v1 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Install dependencies | ||
| 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: Install testing dependencies | ||
| run: | | ||
| python -m pip install coverage | ||
| python -m pip install hypothesis==3.2 | ||
| python -m pip install mypy | ||
| - name: Run tests | ||
| run: | | ||
| coverage run --source=axelrod -m unittest discover | ||
| - name: Report coverage | ||
| run: | | ||
| coverage report -m --fail-under=100 | ||
| - name: Run doctest | ||
| run: | | ||
| python doctests.py | ||
| - name: Run static type checker | ||
| run: | | ||
| python run_mypy.py | ||
| - name: Check that all strategies are indexed | ||
| run: | | ||
| python run_strategy_indexer.py | ||
| - name: Check that installs | ||
| run: | | ||
| python setup.py install | ||
| cd .. | ||
| python -c "import axelrod" | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| include *.txt | ||
| recursive-include docs *.rst | ||
| recursive-include axelrod/data *.csv | ||
| recursive-include axelrod/data * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| cloudpickle>=0.2.1 | ||
| fsspec>=0.4.3 | ||
| dask>=2.3.0 | ||
| hypothesis==3.2 | ||
| matplotlib>=2.0.0 | ||
| numpy>=1.9.2 | ||
| pandas>=0.18.1 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.