Skip to content

Merge pull request #117 from dwreeves/116-deprecate-click-7 #63

Merge pull request #117 from dwreeves/116-deprecate-click-7

Merge pull request #117 from dwreeves/116-deprecate-click-7 #63

Workflow file for this run

name: Test Coverage
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9.x, 3.10.x, 3.11.x]
click: [7.0.*, 8.0.*, 8.1.*] # Skip click 7.1 since regression coverage is strictly higher in 7.0.
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