Skip to content

Updates docs, added python version, fixed functools cache #262

Updates docs, added python version, fixed functools cache

Updates docs, added python version, fixed functools cache #262

Workflow file for this run

name: Continous Integration
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools --upgrade
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
flake8 . --exit-zero --max-line-length=100 --ignore=F401,W503 --max-complexity=10 --max-line-length=100
- name: Test with pytest
run: |
pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml