Skip to content

Update README.md: Modify badge section for Python version and enhance… #4

Update README.md: Modify badge section for Python version and enhance…

Update README.md: Modify badge section for Python version and enhance… #4

Workflow file for this run

name: Tests
on:
push:
branches: [ main, any-llm ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests with coverage
run: |
pytest --cov=simpleaudit --cov-report=xml --cov-report=term-missing
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
name: py${{ matrix.python-version }}
fail_ci_if_error: false