Skip to content

Change examples layout (#6) #21

Change examples layout (#6)

Change examples layout (#6) #21

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
pyver: ["3.9", "3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.pyver }}"
cache: pip
- name: Install dependencies
# language=Bash
run: |
python -m pip install --upgrade pip
pip install -e '.[dev]'
- name: Test with pytest
# language=Bash
run: |
pytest
- name: Lint
# language=Bash
run: |
ruff check --show-fixes --show-source
mypy -p plugbear
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Build
# language=Bash
run: |
python -m pip install --upgrade pip build
python -m build .