Skip to content

Merge pull request #148 from dwreeves/add-ruff #161

Merge pull request #148 from dwreeves/add-ruff

Merge pull request #148 from dwreeves/add-ruff #161

Workflow file for this run

name: Test Coverage
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.7.x, 3.11.x] # Only test lowest + highest Python versions supported
click: [7.0.*, 7.1.*, 8.0.*, 8.1.*]
rich: [12.*, 13.*]
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
pip install '.[dev]'
pip install --upgrade "click==$CLICK_VERSION"
pip install --upgrade "rich==$RICH_VERSION"
env:
CLICK_VERSION: ${{ matrix.click }}
RICH_VERSION: ${{ matrix.rich }}
- name: Run tests
run: pytest --cov --cov-report xml