Skip to content

Fix build codecov jobs #72

Fix build codecov jobs

Fix build codecov jobs #72

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
build:
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pre-commit
python -m pip install -e '.'
- name: Lint
run: pre-commit run --all-files --show-diff-on-failure