Skip to content

Upgraded dependency versions #35

Upgraded dependency versions

Upgraded dependency versions #35

Workflow file for this run

name: master
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linting-code-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install
run: |
pip install .
pip install -r requirements-dev.txt
- name: flake8 check
run: |
flake8 .
- name: isort check
run: |
isort . --check
- name: black check
run: |
black . --check
- name: mypy check
run: |
mypy .
- name: Unit-tests with coverage
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
pip install .
pip install -r requirements-dev.txt
- name: Unit-tests with coverage
run: |
pytest tests/