Skip to content

add badge to README.md #2

add badge to README.md

add badge to README.md #2

Workflow file for this run

name: Python CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt || pip install .
- name: Lint with black and flake8
run: |
pip install black flake8
black --check .
flake8 .
- name: Run tests
run: |
pip install pytest pytest-cov
pytest --maxfail=1 --disable-warnings -q