Release 0.3 (#77) #214
This file contains 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
name: Run Tests | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
docs: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.8] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: python -m pip install .[dev] | |
- name: make docs | |
run: make docs | |
lint: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[dev] | |
- name: make lint | |
run: make lint | |
readme: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install libgomp1 | |
run: | | |
sudo apt-get install libgomp1 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install rundoc . | |
- name: make readme | |
run: make test-readme | |
unit: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
os: [ubuntu-20.04, macos-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[test] | |
- name: make unit | |
run: make test-unit | |
minimum: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[test] | |
- name: make minimum | |
run: make test-minimum | |
tutorials: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install jupyter . | |
- name: make tutorials | |
run: make test-tutorials |