Fix lints #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |