Skip to content

chore: Bump version to 1.2.1 #72

chore: Bump version to 1.2.1

chore: Bump version to 1.2.1 #72

Workflow file for this run

name: CI
on: [push]
env:
PYTHON_VERSION: '3.11'
jobs:
pytest:
runs-on: ubuntu-latest
name: Run pytest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install
- name: Run pytest
run: |
poetry run pytest test/
mypy:
runs-on: ubuntu-latest
name: Run mypy
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install
- name: Run mypy
run: |
poetry run mypy .
pre-commit:
runs-on: ubuntu-latest
name: Run pre-commit checks
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install
- name: Run pre-commit checks
run: |
poetry run pre-commit run --all-files