Skip to content

version 0.5.2

version 0.5.2 #28

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main, dev]
jobs:
tests:
strategy:
matrix:
python: ['3.9', '3.10', '3.11']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.5.1
- name: Install dependencies
run: poetry install --without dev
- name: Run linting
run: poetry run pre-commit run -a
- name: Run tests
run: poetry run pytest -v --cov tki/ --cov-report=xml
- uses: codecov/codecov-action@v3