Skip to content

Bump ruff from 0.6.8 to 0.6.9 #91

Bump ruff from 0.6.8 to 0.6.9

Bump ruff from 0.6.8 to 0.6.9 #91

Workflow file for this run

name: Python CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: "${{ matrix.os }} | Python ${{ matrix.python-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
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 venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install project
run: poetry install --no-interaction
- name: Run ruff
uses: chartboost/ruff-action@v1
- name: Run pytest
run: poetry run pytest tests/