Skip to content

Commit

Permalink
Merge branch 'feature/CI' of https://github.com/SURGroup/UQpy into fe…
Browse files Browse the repository at this point in the history
…ature/CI
  • Loading branch information
dgiovanis committed Feb 12, 2021
2 parents fed74b4 + f5cabe9 commit daa1c30
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,22 @@ steps:
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
#workingDirectory: $(Build.SourcesDirectory)
#displayName: 'Test with pytest'

- script: |
python -m pytest tests/*.py --cov=src --cov-report=xml --cov-report=html
pip install pytest
pip install pytest-cov
pip install pytest pytest-azurepipelines
pip install numpy
pip install matplotlib
pip install -U scikit-learn
echo "##vso[task.setvariable variable=PATH]${PATH}:$(Build.SourcesDirectory)/src/UQpy"
# python -m pytest tests/ --import-mode=importlib --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
pytest tests/*.py --cov-config .coveragerc --import-mode=importlib --doctest-modules --junitxml=junit/test-results.xml --cov=src --cov-report=xml --cov-report=html
workingDirectory: $(Build.SourcesDirectory)
displayName: 'Test with pytest'
Expand Down
File renamed without changes.

0 comments on commit daa1c30

Please sign in to comment.