From d7800b4c6732cc71965d3af1857836dafa0af675 Mon Sep 17 00:00:00 2001 From: scaramallion Date: Mon, 13 Nov 2023 15:45:48 +1100 Subject: [PATCH] App debug 7 --- .github/workflows/pr-pytest-apps.yml | 5 +++-- pynetdicom/apps/tests/test_echoscp.py | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-pytest-apps.yml b/.github/workflows/pr-pytest-apps.yml index 4e6fdcd30..43d0cf009 100644 --- a/.github/workflows/pr-pytest-apps.yml +++ b/.github/workflows/pr-pytest-apps.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-python@v4 id: setup-python with: - python-version: ${{ matrix.python-version }} + python-version: [ '3.11' ] #${{ matrix.python-version }} - name: Install poetry uses: snok/install-poetry@v1 with: @@ -40,7 +40,8 @@ jobs: run: poetry install --no-interaction --no-root --extras tests - name: Switch to development pydicom run: | - pip install git+https://github.com/pydicom/pydicom + pip install git+https://github.com/pydicom/pydicom && + poetry run pip list - name: Test with pytest env: PYTHON_VERSION: ${{ matrix.python-version }} diff --git a/pynetdicom/apps/tests/test_echoscp.py b/pynetdicom/apps/tests/test_echoscp.py index 68af8c723..131787c0a 100644 --- a/pynetdicom/apps/tests/test_echoscp.py +++ b/pynetdicom/apps/tests/test_echoscp.py @@ -33,7 +33,8 @@ def start_echoscp(args): """Start the echoscp.py app and return the process.""" pargs = [sys.executable, APP_FILE, "11112"] + [*args] - return subprocess.Popen(" ".join(pargs), shell=True) + #print(sys.executable) + return subprocess.Popen(pargs) def start_echoscp_cli(args):