Skip to content

Add pytest.ini

Add pytest.ini #8

Workflow file for this run

name: CI
on:
- push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python -m pip install poetry
- run: poetry install
- run: poetry run poe lint
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12"]
poetry-version: ["1.8.2"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: python -m pip install poetry==${{ matrix.poetry-version }}
- name: Install project
run: poetry install
- name: Run tests
run: poetry run poe test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}