Skip to content

Added pylint to actions #10

Added pylint to actions

Added pylint to actions #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run coverage run --branch -m pytest
- name: Coverage report
run: poetry run coverage xml
- name: Coverage report to Codecov
run: bash <(curl -s https://codecov.io/bash)
- name: Run Pylint
run: poetry run pylint src