Skip to content

fixing pylint issues, updating github workflows #11

fixing pylint issues, updating github workflows

fixing pylint issues, updating github workflows #11

Workflow file for this run

name: Python Package and Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Python Black
run: |
pip install black==24.10.0
black . --check
- name: Test with pytest
run: |
pytest --cov-report html:./results/cov_html --cov=src tests/