From a74cc92fe5364dc1a0565a54e03e21f458be7bda Mon Sep 17 00:00:00 2001 From: Zethson Date: Fri, 22 Jan 2021 14:57:42 +0100 Subject: [PATCH 1/4] added twine check & python 3.8 CI Signed-off-by: Zethson --- .azure-pipelines.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index e55158bb6..047ba2010 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: Python37: - python.version: '3.7' + python.version: '3.8' RUN_COVERAGE: yes Python36: python.version: '3.6' @@ -67,3 +67,9 @@ jobs: - script: rst2html.py --halt=2 README.rst >/dev/null displayName: 'rst2html' + + - script: | + pip install setuptools twine + python setup.py sdist bdist_wheel + twine check dist/* + displayName: 'Twine check' From 838f8dd6cdf760e75e4edd3fdeedcb59abba8165 Mon Sep 17 00:00:00 2001 From: Zethson Date: Fri, 22 Jan 2021 14:59:04 +0100 Subject: [PATCH 2/4] fixed naming of 3.8 CI matrix Signed-off-by: Zethson --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 047ba2010..e88326ef9 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -10,7 +10,7 @@ jobs: vmImage: 'ubuntu-18.04' strategy: matrix: - Python37: + Python38: python.version: '3.8' RUN_COVERAGE: yes Python36: From f38f7ad27d919652236dcef6e386ab28220b35e4 Mon Sep 17 00:00:00 2001 From: Zethson Date: Fri, 22 Jan 2021 15:03:38 +0100 Subject: [PATCH 3/4] added installation of pytoml to twine check Signed-off-by: Zethson --- .azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index e88326ef9..d45746ff5 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -69,7 +69,8 @@ jobs: displayName: 'rst2html' - script: | - pip install setuptools twine + pip install setuptools twine pytoml + pip install . python setup.py sdist bdist_wheel twine check dist/* displayName: 'Twine check' From 8b222d21f8251e22aedd1b0f62d63a328f4be26e Mon Sep 17 00:00:00 2001 From: Zethson Date: Fri, 22 Jan 2021 15:05:39 +0100 Subject: [PATCH 4/4] added installation of wheel to twine check Signed-off-by: Zethson --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index d45746ff5..a6feb7e2e 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -69,7 +69,7 @@ jobs: displayName: 'rst2html' - script: | - pip install setuptools twine pytoml + pip install setuptools twine pytoml wheel pip install . python setup.py sdist bdist_wheel twine check dist/*