add lower bound to typing_extensions dependency #394
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Examples | |
on: [push, pull_request] | |
jobs: | |
examples: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.7.x, 3.11.x, 3.12.x] | |
click: [7.0.*, 8.0.*, 8.1.*] # Skip click 7.1 since regression coverage is strictly higher in 7.0. | |
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 | |
if: matrix.python != '3.7.x' | |
run: | | |
pip install -U uv | |
uv pip install --system --editable "." | |
uv pip install --system --upgrade "click==$CLICK_VERSION" | |
env: | |
CLICK_VERSION: ${{ matrix.click }} | |
- name: Install dependencies (Python 3.7) | |
if: matrix.python == '3.7.x' | |
run: | | |
pip install --editable "." | |
pip install --upgrade "click==$CLICK_VERSION" | |
env: | |
CLICK_VERSION: ${{ matrix.click }} | |
- name: Test examples | |
run: | | |
for f in examples/*py | |
do | |
echo -e "\n\n$f" | |
python "${f}" --help || exit 1; | |
done |