Skip to content

👷 Update CI Workflow #64

👷 Update CI Workflow

👷 Update CI Workflow #64

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.9', '3.10', '3.11' ]
name: Build w/ Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Dependencies
run: poetry install
- name: Lint
run: poetry run ruff check .
- name: Test
run: poetry run pytest