Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
shoyer committed Jun 23, 2019
1 parent 080427a commit 9f64d86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/azure/install.yml
Expand Up @@ -18,7 +18,7 @@ steps:
# Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
# condition: eq(variables['Agent.OS'], 'Windows_NT')
- bash: |
conda env create -n test_env --file $ENV_FILE
conda env create -n test_env --file $(env_file)
displayName: Install dependencies
- bash: |
source activate test_env
Expand Down
8 changes: 7 additions & 1 deletion ci/azure/unit-tests.yml
Expand Up @@ -6,5 +6,11 @@ steps:
displayName: Import xarray
- bash: |
source activate test_env
pytest xarray
pytest xarray --junitxml=junit/test-results.xml
displayName: Run tests
# - task: PublishTestResults@2
# condition: succeededOrFailed()
# inputs:
# testResultsFiles: '**/test-*.xml'
# failTaskOnFailedTests: true
# testRunTitle: 'Publish test results for Python $(PYTHON_VERSION) $(BITS)-bit $(TEST_MODE) Windows'

0 comments on commit 9f64d86

Please sign in to comment.