Skip to content

Commit 3a92538

Browse files
authored
update azure-pipelines.yml (#820)
1 parent 5aa7c18 commit 3a92538

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

data/azure-pipelines.yml

+11-13
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ jobs:
4747
docker run --rm \
4848
-e PYVER=$(python -c "import sys; print('%s%s' % (sys.version_info.major, sys.version_info.minor))") \
4949
-v `pwd`:/io jopohl/urh_manylinux2014 /io/data/make_manylinux2014_wheels.sh
50-
displayName: "Build wheel"
50+
displayName: "Build manylinux wheel"
5151
5252
- script: |
5353
pip install dist/*.whl
5454
urh --version
5555
xvfb-run urh autoclose
56-
displayName: 'Test Run'
56+
displayName: 'Perform test run'
5757
5858
- script: python data/check_native_backends.py
5959
displayName: 'Check native backends'
6060

6161
- script: twine upload --skip-existing dist/*
62-
displayName: "PyPi Upload"
62+
displayName: "Upload to PyPi"
6363
condition: contains(variables['Build.SourceBranch'], 'refs/tags/')
6464
env:
6565
TWINE_USERNAME: $(twine.username)
@@ -70,7 +70,7 @@ jobs:
7070
inputs:
7171
pathtoPublish: dist/
7272
artifactName: 'dist'
73-
displayName: "Publish Build Artifacts"
73+
displayName: "Publish build artifacts"
7474

7575
- script: |
7676
touch tests/show_gui
@@ -140,10 +140,9 @@ jobs:
140140
Copy-Item "sdr_drivers\win-64.zip" -Destination "C:\windlls.zip"
141141
}
142142
Copy-Item "sdr_drivers\*.whl" -Destination "C:\"
143-
displayName: 'download SDR drivers'
143+
displayName: 'Download SDR drivers'
144144
145145
- script: |
146-
python -m pip install --upgrade pip
147146
pip install -r data/requirements.txt
148147
pip install pytest pytest-faulthandler
149148
displayName: 'Install dependencies'
@@ -185,7 +184,7 @@ jobs:
185184
inputs:
186185
pathtoPublish: dist/
187186
artifactName: 'dist'
188-
displayName: "Publish Build Artifacts"
187+
displayName: "Publish build artifacts"
189188

190189
- script: twine upload --skip-existing dist/*.whl
191190
displayName: "Upload wheel to PyPi"
@@ -208,7 +207,7 @@ jobs:
208207
addChangeLog: true
209208

210209
- script: pytest -s -v --junitxml=junit/test-results.xml tests
211-
displayName: 'Run pytest on windows'
210+
displayName: 'Run pytest'
212211

213212
- task: PublishTestResults@2
214213
condition: succeededOrFailed()
@@ -220,7 +219,7 @@ jobs:
220219
pip install .
221220
urh --version
222221
urh autoclose
223-
displayName: 'Testrun'
222+
displayName: 'Perform a testrun'
224223
225224
- job: 'macOS'
226225
pool:
@@ -238,13 +237,12 @@ jobs:
238237
mkdir /tmp/osx-64
239238
tar xf sdr_drivers/osx-64.tar.bz2 -C /tmp/osx-64
240239
rm -rf sdr_drivers
241-
displayName: "download and unpack SDR drivers"
240+
displayName: "Download and unpack SDR drivers"
242241
243242
- script: |
244-
python -m pip install --upgrade pip wheel setuptools
245243
python -m pip install --upgrade -r data/requirements.txt
246244
HOMEBREW_NO_INSTALL_CLEANUP=TRUE brew install airspy hackrf librtlsdr portaudio uhd
247-
python -m pip install --upgrade pytest pytest-faulthandler twine six appdirs packaging pyinstaller pyaudio
245+
python -m pip install --upgrade pytest pytest-faulthandler twine six appdirs packaging pyinstaller pyaudio wheel setuptools
248246
python -c "import tempfile, os; open(os.path.join(tempfile.gettempdir(), 'urh_releasing'), 'w').close()"
249247
displayName: 'Install dependencies'
250248
@@ -305,4 +303,4 @@ jobs:
305303
pip install .
306304
urh --version
307305
urh autoclose
308-
displayName: 'Testrun'
306+
displayName: 'Perform a Testrun'

0 commit comments

Comments
 (0)