Skip to content

correct isort for test numeric #168

correct isort for test numeric

correct isort for test numeric #168

Workflow file for this run

name: Python package
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
# BUG
# fix bash script running on windows then uncomment
# os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
make install
- name: Check code style with black
run: |
make code-style
- name: Check import order with isort
run: |
make import-check
- name: Lint with flake8
run: |
make linting
- name: Check static type checking with mypy
run: |
make typecheck
# TODO
# add binaries to cache and make them available for library. Then uncomment
# - name: Test with pytest
# run: |
# make tests
- name: Test package build without pre-installed AF binaries
run: |
bash ./scripts/build_package_without_binaries.sh