Skip to content

Fix CI errors

Fix CI errors #1248

Workflow file for this run

name: format check
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Python.3.7.x
uses: actions/setup-python@v1
with:
python-version: 3.7.x
- name: Cache pip
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install Cython black==22.3.0 mypy==0.942 pylint==2.13.5 yapf isort
- name: Build Cython
run: |
pip install numpy # temporarily dependency fix
pip install -e .
- name: Check format
run: |
./scripts/format
- name: Linter
run: |
./scripts/lint