Skip to content

Merge pull request #5 from StructuralPython/fixes/polygon_for_single_… #16

Merge pull request #5 from StructuralPython/fixes/polygon_for_single_…

Merge pull request #5 from StructuralPython/fixes/polygon_for_single_… #16

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python testing
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: |
uv sync
- name: Test black formatted
run: |
uv run black src --check
- name: Test with pytest
run: |
uv run pytest