Skip to content

Fix lints

Fix lints #25

Workflow file for this run

name: CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
if: |
!(github.event_name == 'push' && contains(github.event.head_commit.message, '[skip ci]'))
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- uses: abatilo/actions-poetry@v2
- run: poetry install
- run: poetry run ruff check .
- run: poetry run pytest --cov=preston --cov-report=xml
- run: bash <(curl -s https://codecov.io/bash)