Skip to content

MAINT: Make sure CIs are still green #183

MAINT: Make sure CIs are still green

MAINT: Make sure CIs are still green #183

name: 'codespell_and_flake'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
style:
runs-on: ubuntu-20.04
env:
CODESPELL_DIRS: 'expyfun/ doc/ examples/'
CODESPELL_SKIPS: '*.log,*.doctree,*.pickle,*.png,*.js,*.html,*.orig'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
architecture: 'x64'
- run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install flake8 pydocstyle check-manifest numpy
name: 'Install dependencies'
- uses: rbialon/flake8-annotations@v1
name: 'Setup flake8 annotations'
- run: make flake
- run: make docstyle
- run: make check-manifest
- uses: GuillaumeFavelier/actions-codespell@feat/quiet_level
with:
path: ${{ env.CODESPELL_DIRS }}
skip: ${{ env.CODESPELL_SKIPS }}
quiet_level: '3'
builtin: 'clear,rare,informal,names'
ignore_words_file: 'ignore_words.txt'
name: 'make codespell-error'