-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a369615
commit d1701fa
Showing
10 changed files
with
339 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: pypi-deploy | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
python-version: [3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Build package | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
python setup.py sdist bdist_wheel | ||
- name: Upload artifacts | ||
if: ${{ success() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: wheels | ||
path: dist/*.whl | ||
|
||
- name: Publish package to Test PyPi | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.test_pypi_password }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install virtualenvwrapper | ||
mkvirtualenvwrapper testpynd | ||
pip install pytest pydicom | ||
pip install -i https://test.pypi.org/simple/ pynetdicom | ||
- name: Test with pytest | ||
run: | | ||
cd ${HOME} | ||
python -c "import pytest; pytest.main(['--pyargs', 'pynetdicom.tests'])" | ||
deactivate | ||
cd ${GITHUB_WORKSPACE} | ||
- name: Publish package to PyPi | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ 1.5.X ] | ||
pull_request: | ||
branches: [ 1.5.X ] | ||
|
||
jobs: | ||
|
||
conda: | ||
# Test conda build with latest Python version | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup conda | ||
uses: s-weigand/setup-conda@v1 | ||
with: | ||
update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
conda-channels: anaconda, conda-forge | ||
- name: Install dependencies | ||
run: | | ||
conda install pytest coverage pytest-cov | ||
conda install -c conda-forge pydicom | ||
- name: Test with pytest | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
run: | | ||
pytest --ignore=pynetdicom/apps | ||
pydicom-dev: | ||
# Matrix builds with development pydicom | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest coverage pytest-cov | ||
pip install git+https://github.com/pydicom/pydicom | ||
- name: Test with pytest | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
run: | | ||
pytest --cov pynetdicom --ignore=pynetdicom/apps | ||
- name: Send coverage results | ||
if: ${{ success() }} | ||
run: | | ||
bash <(curl --connect-timeout 10 --retry 10 --retry-max-time \ | ||
0 https://codecov.io/bash) || (sleep 30 && bash <(curl \ | ||
--connect-timeout 10 --retry 10 --retry-max-time \ | ||
0 https://codecov.io/bash)) | ||
pydicom-release: | ||
# Matrix builds with released pydicom | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest pydicom coverage pytest-cov | ||
- name: Test with pytest | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
run: | | ||
pytest --cov pynetdicom --ignore=pynetdicom/apps | ||
- name: Send coverage results | ||
if: ${{ success() }} | ||
run: | | ||
bash <(curl --connect-timeout 10 --retry 10 --retry-max-time \ | ||
0 https://codecov.io/bash) || (sleep 30 && bash <(curl \ | ||
--connect-timeout 10 --retry 10 --retry-max-time \ | ||
0 https://codecov.io/bash)) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ Release Notes | |
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
v1.5.5 | ||
v1.5.4 | ||
v1.5.3 | ||
v1.5.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _v1.5.5: | ||
|
||
1.5.5 | ||
===== | ||
|
||
Fixes | ||
..... | ||
|
||
* Fixed C-FIND SCPs sending the previous pending Identifier with the final | ||
success response (#571) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
import re | ||
|
||
|
||
__version__ = '1.5.4' | ||
__version__ = '1.5.5' | ||
|
||
|
||
VERSION_PATTERN = r""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.