Skip to content

Bump pillow from 10.0.0 to 10.0.1 #12

Bump pillow from 10.0.0 to 10.0.1

Bump pillow from 10.0.0 to 10.0.1 #12

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