Skip to content

Bump pillow from 12.1.0 to 12.1.1 in the uv group across 1 directory #231

Bump pillow from 12.1.0 to 12.1.1 in the uv group across 1 directory

Bump pillow from 12.1.0 to 12.1.1 in the uv group across 1 directory #231

Workflow file for this run

permissions:
contents: read
name: Run automated tests
on:
push
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
# see details (matrix, python-version, python-version-file, etc.)
# https://github.com/actions/setup-python
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- uses: actions/cache@v5
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-${{ hashFiles('uv.lock') }}
- name: Install the project dependencies
run: uv sync --extra dev
- name: Install pyright
run: uv tool install pyright
- name: Run type checking
run: uv run pyright
- name: Run the automated tests (for example)
run: uv run pytest -v
smoke-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Create fresh virtual environment for smoke test
run: uv venv .smoke-test-venv
- name: Install package in fresh environment
run: |
source .smoke-test-venv/bin/activate
uv sync --frozen --active
- name: Run smoke test
run: |
source .smoke-test-venv/bin/activate
python smoke_test.py