Skip to content

Commit

Permalink
BUILD: use regular pytest & pytest-cov, run pytest nightly (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg-schneider authored Feb 15, 2021
1 parent 63a9bb7 commit 3eb9a92
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,7 @@ stages:
jobs:
- job:
displayName: 'pytest @ develop environment'
condition: >
and(
ne(variables.master_or_release, 'True'),
ne(variables.is_scheduled, 'True'),
eq(stageDependencies.detect_build_config_changes.checkout_and_diff.outputs['diff.conda_build_config_changed'], '0')
)
condition: ne(variables.master_or_release, 'True')

pool:
vmImage: 'ubuntu-latest'
Expand Down Expand Up @@ -158,10 +153,12 @@ stages:
cd $(System.DefaultWorkingDirectory)/sklearndf/
flit install -s
cd $(System.DefaultWorkingDirectory)/facet/
pip install pytest-azurepipelines
coverage run -m pytest test/test/
coverage xml
coverage html
pytest \
--cov facet \
--cov-config "tox.ini" \
--cov-report=xml:coverage.xml --cov-report=html:htmlcov \
--junitxml pytest.xml \
. -s
displayName: 'pytest'

- task: PublishTestResults@2
Expand Down

0 comments on commit 3eb9a92

Please sign in to comment.