Skip to content

[MRG] Second attempt at timer fix, add release notes #323

[MRG] Second attempt at timer fix, add release notes

[MRG] Second attempt at timer fix, add release notes #323

Workflow file for this run

name: pull-request-pytest-apps
on:
pull_request:
branches: [ main ]
jobs:
pydicom-dev:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install --no-interaction --extras tests
- name: Switch to development pydicom
run: |
pip install git+https://github.com/pydicom/pydicom &&
poetry run pip list
- name: Test with pytest
env:
PYTHON_VERSION: ${{ matrix.python-version }}
run: |
poetry run pytest -x --ignore=pynetdicom/tests
# pydicom-release:
# runs-on: ubuntu-latest
# timeout-minutes: 30
# strategy:
# fail-fast: false
# matrix:
# python-version: ['3.9']
#
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 2
# - 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 pytest pydicom sqlalchemy pyfakefs
# - name: Test with pytest
# env:
# PYTHON_VERSION: ${{ matrix.python-version }}
# run: |
# pytest --ignore=pynetdicom/tests