Skip to content

Update build123d to 0.9.0 #199

Update build123d to 0.9.0

Update build123d to 0.9.0 #199

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
name: Python tests
on:
pull_request:
branches: ["main"]
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@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run Integration Tests
id: int_test
if: success() || failure()
run: |
python -m unittest discover ./tests/ -v -p "test_int*"
- name: Run unit tests with coverage
id: unit_test
if: success() || failure()
run: |
python -m coverage run -m unittest discover ./tests/ -v -p "test_unit*"
- name: Measure coverage
if: success() || failure()
run: |
python -m coverage report -m --fail-under=100