From: Bob Halley Date: Sun, 1 Nov 2020 14:21:01 +0000 (-0800) Subject: azure + poetry attempt X-Git-Tag: v2.1.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24310dc3babd975fea15a35474d69273bed4fa65;p=thirdparty%2Fdnspython.git azure + poetry attempt --- diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c0c85aad..6a3e62b4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,17 +25,25 @@ jobs: # displayName: 'Install pip and wheel' - script: | - python -m pip install requests requests-toolbelt idna cryptography - python -m pip install trio sniffio curio + (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - + displayName: 'Install Poetry + + - script: | + %USERPROFILE%\.poetry\bin\poetry install -E dnssec -E doh -E idna -E trio -E curio displayName: 'Install python dependencies' +# - script: | +# python -m pip install requests requests-toolbelt idna cryptography +# python -m pip install trio sniffio curio +# displayName: 'Install python dependencies' + - script: | dotnet tool install --global Codecov.Tool displayName: 'Install Codecov.Tool' - script: | - python -m pip install pytest pytest-cov pytest-azurepipelines - pytest --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html + %USERPROFILE%\.poetry\bin\poetry run python -m pip install pytest-azurepipelines + %USERPROFILE%\.poetry\bin\poetry run pytest --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html displayName: 'pytest' - task: PublishTestResults@2