Skip to content

Commit

Permalink
Don't test built package
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed May 30, 2024
1 parent 46cd2d7 commit 91d3e4a
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/publish-pypi-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 91d3e4a

Please sign in to comment.