Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/config.yml
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"
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion MANIFEST.in
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 *
11 changes: 4 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
.. image:: https://coveralls.io/repos/github/Axelrod-Python/Axelrod/badge.svg?branch=master
:target: https://coveralls.io/github/Axelrod-Python/Axelrod?branch=master

.. image:: https://img.shields.io/pypi/v/Axelrod.svg
:target: https://pypi.python.org/pypi/Axelrod

.. image:: https://travis-ci.org/Axelrod-Python/Axelrod.svg?branch=packaging
:target: https://travis-ci.org/Axelrod-Python/Axelrod

.. image:: https://zenodo.org/badge/19509/Axelrod-Python/Axelrod.svg
:target: https://zenodo.org/badge/latestdoi/19509/Axelrod-Python/Axelrod

.. image:: https://github.com/Axelrod-Python/Axelrod/workflows/CI/badge.svg
:target: https://github.com/Axelrod-Python/Axelrod/actions

|Join the chat at https://gitter.im/Axelrod-Python/Axelrod|

Axelrod
Expand Down Expand Up @@ -74,7 +71,7 @@ a peer reviewed paper introducing the library (22 authors).
Installation
------------

The library requires Python 3.5 or greater.
The library requires Python 3.6 or greater.

The simplest way to install is::

Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ environment:
install:
- "%PYTHON%\\python.exe --version"
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON%\\python.exe -m pip install hypothesis==3.2"
build: off
test_script:
- "%PYTHON%\\python.exe -m unittest discover"
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
long_description=long_description,
long_description_content_type="text/x-rst",
include_package_data=True,
package_data={"": ["axelrod/data/*.csv"]},
package_data={"": ["axelrod/data/*"]},
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.5",
python_requires=">=3.6",
)