Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dgiovanis committed Feb 16, 2021
1 parent b2fff23 commit 724be94
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,15 @@ steps:
- script: pip install -r requirements.txt
displayName: Install project dependencies

- script: |
pip install pytest pytest-azurepipelines
displayName: 'pytest'

- script: |
pylint --ignored-modules=numpy,scipy,matplotlib,sklearn --disable=E0202 --disable=R,C,W src/UQpy
displayName: "Running Pylint"
- script: |
echo "##vso[task.setvariable variable=PATH]${​​​​​​​​PATH}​​​​​​​​:$(Build.SourcesDirectory)/src/UQpy"
python -m pytest -v tests/*.py --cov=src --cov-report=xml --cov-report=html
pip install pytest pytest-azurepipelines
#echo "##vso[task.setvariable variable=PATH]${​​​​​​​​PATH}​​​​​​​​:$(Build.SourcesDirectory)/src/UQpy"
python -m pytest -v $(Build.SourcesDirectory)/tests/*.py --cov=src --cov-report=xml --cov-report=html
workingDirectory: $(Build.SourcesDirectory)
displayName: 'Test with pytest'
Expand Down

0 comments on commit 724be94

Please sign in to comment.