Skip to content

Dev

Dev #116

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ricardochaves/[email protected]
with:
python-root-list: "pymint tests"
use-pylint: true
use-black: true
use-mypy: true
use-isort: true
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.1.1
virtualenvs-create: false
- name: Install Dependencies
run: poetry install
- name: Running pytest
run: poetry run pytest
docs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
- uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: docs/_build/html/