Skip to content

change linter and formatter to ruff #14

change linter and formatter to ruff

change linter and formatter to ruff #14

Workflow file for this run

name: documentation
on:
push:
branches:
- main
- dev
paths:
- docs/**
pull_request:
branches:
- main
- dev
paths:
- docs/**
jobs:
build-documentation:
name: Build documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.10
- name: Python info
shell: bash -l {0}
run: |
which python3
python3 --version
- name: Upgrade pip and install dependencies
run: |
python3 -m pip install --upgrade pip setuptools
python3 -m pip install .[dev,publishing]
- name: Install pandoc using apt
run: sudo apt install pandoc
- name: Build documentation
run: make coverage doctest html
working-directory: docs