From 724be94f8be67e03483919bbb9296748de24bbc2 Mon Sep 17 00:00:00 2001 From: Dimitris Giovanis <30946950+dgiovanis@users.noreply.github.com> Date: Tue, 16 Feb 2021 12:48:00 -0500 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 85501040c..d0ba904a3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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'