- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- ~/.poetry/bin/poetry install -E dnssec -E doh -E idna -E trio -E curio
script:
- - ~/.poetry/bin/poetry run pytest --cov=dns --cov-report=xml:coverage.xml
+ - ~/.poetry/bin/poetry run pytest --cov=. --cov-report=xml:coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
- script: |
pip install pytest pytest-cov pytest-azurepipelines
- pytest --junitxml=junit/test-results.xml --cov=dns --cov-report=xml --cov-report=html
+ pytest --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
displayName: 'pytest'
- task: PublishTestResults@2