Skip to content

add design document add_recursive_plan_v2.md for recursive directory … #182

add design document add_recursive_plan_v2.md for recursive directory …

add design document add_recursive_plan_v2.md for recursive directory … #182

Workflow file for this run

name: Pytest
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.13t', '3.14t']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install package
run: |
python -m pip install .
- name: Run --version
run: |
blockcopy --version
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --statistics
- name: Test with pytest
run: |
python -m pytest -v --tb=native tests \
--doctest-modules \
--junitxml=junit/test-results.xml \
--cov=com --cov-report=xml --cov-report=html