Skip to content

fix: github pipeline #8

fix: github pipeline

fix: github pipeline #8

Workflow file for this run

name: Test and Build
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install Poetry
run: python -m pip install poetry
- name: Add Poetry to path
run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install
- name: Test
run: |
poetry run ruff check --output-format=github .
poetry run py.test tests/ --cov=src/ --color=yes
- name: Build
run: poetry build