Skip to content

Update pyproject.toml #116

Update pyproject.toml

Update pyproject.toml #116

Workflow file for this run

name: Test
on:
push:
branches:
- "**"
pull_request:
branches:
- main
- dev
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install poetry
run: pip install poetry==1.3.2
- name: Install dependencies
run: make install
- name: Static analysis
run: make lint
test:
name: test (${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: pip install poetry==1.3.2
- name: Install dependencies
run: make install
- name: Run tests
run: make test
- name: Upload coverage
uses: codecov/codecov-action@v3