Skip to content

Try to fix flake8 errors - only want to flag the big ones #30

Try to fix flake8 errors - only want to flag the big ones

Try to fix flake8 errors - only want to flag the big ones #30

Workflow file for this run

name: Push Workflow
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Document branch
run: echo ${{ github.ref_name }}
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F821,F823 --show-source --statistics
- name: Install package
run: |
pip install -e .
- name: Test with pytest
run: |
pytest
- name: Configure Git user
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Build docs
run: |
mike deploy --push --rebase ${{ github.ref_name }}