Files
biblioteka-standartnyh-izdeliy/.github/workflows/ci.yml
T
OpenClaw Coder ec0540ad38
CI / test (3.10) (push) Canceled after 0s
CI / test (3.11) (push) Canceled after 0s
CI / test (3.12) (push) Canceled after 0s
CI / build-check (push) Canceled after 0s
boltgen: property-based geometry tests + CI (cadquery)
2026-11-07 02:56:52 +10:00

53 lines
1.2 KiB
YAML

name: CI
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run specification tests (no cadquery needed)
run: python -m pytest tests/test_specs.py -v
- name: Run geometry tests (requires cadquery)
run: python -m pytest tests/test_geometry.py -v
build-check:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build package
run: |
pip install --upgrade pip build
python -m build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: boltgen-dist-${{ matrix.python-version }}
path: dist/