Skip to content

Clean up README by removing duplicate badges #42

Clean up README by removing duplicate badges

Clean up README by removing duplicate badges #42

Workflow file for this run

name: Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "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 pytest pytest-cov pytz
pip install -e .
pip install pytz
- name: Lint with ruff
run: |
pip install ruff
ruff check lumix/ tests/
- name: Run tests with coverage
run: |
pytest tests/ --cov=lumix --cov-report=xml --cov-report=term
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov pytz pytz
pip install -e .
pip install pytz