Skip to content

エラーハンドリングの改善 #19

エラーハンドリングの改善

エラーハンドリングの改善 #19

Workflow file for this run

name: pytest
permissions:
contents: read
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["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 .[yaml]
pip install pytest pytest-cov pytest-mock
- name: Run tests (non-COM suite)
if: runner.os != 'Windows'
run: |
pytest -m "not com and not render" --maxfail=1 --disable-warnings -q
- name: Run tests (full suite with skips)
if: runner.os == 'Windows'
env:
RUN_RENDER_SMOKE: "0" # enable with 1 when Excel+pypdfium2 are available
run: |
pytest --maxfail=1 --disable-warnings -q