Skip to content

add: leave first line #98

add: leave first line

add: leave first line #98

Workflow file for this run

name: Python package
on: [push]
jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
version: 2.1.1
- name: Install library
run: poetry install --no-interaction
- name: Lint with poetry
run: poetry run pylint foliant
- name: Test with poetry
run: |
poetry run pytest --cov=foliant
poetry run codecov