This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
Update README.md #160
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: CI | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 2 | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.8", "3.9", "3.10"] | |
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: Install package | |
run: | | |
pip install . | |
- name: Check that documentation builds | |
run: | | |
sudo apt-get install pandoc | |
python -m pip install sphinx | |
python -m pip install sphinx_rtd_theme | |
python -m pip install mock | |
python -m pip install nbsphinx | |
python -m pip install myst-nb | |
cd docs; make clean; make html; cd ..; | |
- name: Run tests | |
run: | | |
pytest tests |