Skip to content

format source code with black -l 120 -t py38 #636

format source code with black -l 120 -t py38

format source code with black -l 120 -t py38 #636

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build for (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: ['3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
update-conda: false
python-version: ${{ matrix.python-version }}
conda-channels: anaconda, conda-forge
- run: conda --version
- run: python --version
- run: conda install python=${{ matrix.python-version }} "certifi=2021.5.30"
- name: Build
run: |
pip3 install .[test,doc]
python setup.py install
- name: Test
run: |
pytest tests