Skip to content

feat: publish

feat: publish #161

Workflow file for this run

name: continuous-integration
on: [push, workflow_dispatch, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ["3.11"] # , "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: ruff
run: |
poetry run ruff check
- name: run mypy
run: |
poetry run mypy reviewtally --python-version=${{ matrix.python-version }}
- name: run unit tests
run: |
poetry run pytest
- name: build package
run: |
poetry build