Skip to content

Make ci-prepare-dist.sh independent (#295) #3

Make ci-prepare-dist.sh independent (#295)

Make ci-prepare-dist.sh independent (#295) #3

Workflow file for this run

name: 'Build & Test'
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-latest
deps: [ dist, latest ]
steps:
- uses: actions/checkout@v3
- run: 'sudo apt-get update'
- run: tests/ci-prepare-${{ matrix.deps }}.sh
- run: python3 setup.py build_cython
- run: python3 setup.py build_ext --inplace
- run: python3 -m pytest -r s tests/
- run: ./build_docs.sh
check-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo python3 -m pip install "black == 22.3.0"
- run: black --line-length=100 --skip-string-normalization --check --diff --color --required-version 22.3.0 .