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