Skip to content

chore(docs): Update README #56

chore(docs): Update README

chore(docs): Update README #56

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.11"]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
mamba-version: "*"
environment-file: conda/dev.yaml
channels: conda-forge,nodefaults
activate-environment: pyreaddbc
use-mamba: true
miniforge-variant: Mambaforge
- name: Install dependencies
run: |
# poetry config experimental.new-installer false
poetry config virtualenvs.create false
poetry build
poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
poetry run pytest -vv -k "ZIKABR21 or STPI2206 or sids" tests/