Skip to content

[WIP] Avoid truncating valid PixelData by computing the default expected frames instead of assuming 1 #423

[WIP] Avoid truncating valid PixelData by computing the default expected frames instead of assuming 1

[WIP] Avoid truncating valid PixelData by computing the default expected frames instead of assuming 1 #423

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, synchronize]
jobs:
tests:
strategy:
matrix:
# One Python version per OS, one combo does coverage
# PyPy only has one line in pydicom (as of 2003-07) so cover in merge only
# Macos unlikely to fail if ubuntu okay so also cover in merge
os: [windows]
python-version: ["3.10"] # , "3.12" soon
test-extras: [false]
upload-coverage: [false]
include:
- os: ubuntu
python-version: "3.11"
test-extras: true
upload-coverage: true
uses: ./.github/workflows/tests_wf.yml
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
test-extras: ${{ matrix.test-extras }}
upload-coverage: ${{ matrix.upload-coverage }}
typing:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install typing dependencies
run: |
python -m pip install .[dev]
- name: Run typing check with mypy
run: mypy