Skip to content

Before problems pushing #17

Before problems pushing

Before problems pushing #17

Workflow file for this run

name: Python CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root
- name: Lint with pylint
run: |
poetry run pylint --rcfile=.pylintrc src
- name: Test with pytest
run: |
poetry run pytest -s