diff options
| author | Bob Halley <halley@dnspython.org> | 2020-11-01 06:21:01 -0800 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-11-01 06:21:01 -0800 |
| commit | 24310dc3babd975fea15a35474d69273bed4fa65 (patch) | |
| tree | 8c1b6e9b685b824d05d4d727d6b0faa43d87dac2 | |
| parent | f991b8a447f2e9cb0d9e1d15a07d9fb1d8dcb030 (diff) | |
| download | dnspython-24310dc3babd975fea15a35474d69273bed4fa65.tar.gz | |
azure + poetry attempt
| -rw-r--r-- | azure-pipelines.yml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c0c85aa..6a3e62b 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 |
