Skip to content

Bump pillow from 10.0.1 to 10.2.0 #14

Bump pillow from 10.0.1 to 10.2.0

Bump pillow from 10.0.1 to 10.2.0 #14

Workflow file for this run

name: gaps
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.5.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load cached virtualenv
uses: actions/cache@v3
id: cache
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install library
if: steps.cache.outputs.cache-hit != 'true'
run: poetry install --no-interaction
- name: Run linter checks
run: |
source .venv/bin/activate
black gaps/ tests/ --check
mypy gaps/ tests/ --ignore-missing-imports
ruff check gaps/ tests/
- name: Run tests
run: |
source .venv/bin/activate
pytest