Skip to content

docs: Add PyCon Sweden 2024 blog post and presentation slides #413

docs: Add PyCon Sweden 2024 blog post and presentation slides

docs: Add PyCon Sweden 2024 blog post and presentation slides #413

Workflow file for this run

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