Skip to content

Release 3.1.1

Release 3.1.1 #110

Workflow file for this run

on: [push, pull_request]
name: CI Checks
jobs:
ci:
name: CI Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: abatilo/actions-poetry@v2.2.0
with:
poetry-version: '1.3.2'
- run: poetry install
- run: poetry run pytest
- run: poetry run black . --check
- run: poetry build
- run: poetry run sphinx-build -b html docs docs_output
- name: Upload coverage data to coveralls.io
run: poetry run coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy GH Pages
if: startsWith(github.ref, 'refs/heads/main')
uses: JamesIves/github-pages-deploy-action@v4.4.0
with:
folder: docs_output
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}