Skip to content

feat(ci): add build workflow #30

feat(ci): add build workflow

feat(ci): add build workflow #30

Workflow file for this run

name: Python CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
python:
name: Python Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust:
- stable
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: extractions/setup-just@v1
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'poetry'
- run: poetry install
- name: Run Python lint
run: |
just lint
- name: Run Python tests
run: |
just test
- name: Run Python docs
run: |
just docs