From 91d3e4a177799e28a3ffda0255c71d724880e780 Mon Sep 17 00:00:00 2001 From: scaramallion Date: Thu, 30 May 2024 10:41:11 +1000 Subject: [PATCH] Don't test built package --- .github/workflows/publish-pypi-deploy.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish-pypi-deploy.yml b/.github/workflows/publish-pypi-deploy.yml index b030b4426..cdaf0931f 100644 --- a/.github/workflows/publish-pypi-deploy.yml +++ b/.github/workflows/publish-pypi-deploy.yml @@ -6,8 +6,8 @@ on: jobs: - build_and_test: - name: Build and test the package + build: + name: Build the package runs-on: ubuntu-latest steps: @@ -36,22 +36,9 @@ jobs: name: wheels path: dist/ - - name: Set up test environment - run: | - poetry install --no-interaction --extras tests - pip install -i https://test.pypi.org/simple/ pynetdicom - - - name: Test with pytest - env: - PYTHON_VERSION: ${{ matrix.python-version }} - run: | - cd ${HOME} - python -m pynetdicom --version - python -c "import pytest; pytest.main(['--pyargs', 'pynetdicom.tests'])" - deploy: name: Upload release to PyPI - needs: [ build_and_test ] + needs: [ build ] runs-on: ubuntu-latest environment: name: pypi