diff --git a/.pr-pipeline.yml b/.pr-pipeline.yml index aa41b29..96fc322 100644 --- a/.pr-pipeline.yml +++ b/.pr-pipeline.yml @@ -20,7 +20,7 @@ stages: python.version: '3.7' steps: - template: .use-python.yml - - script: PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH cd tests && pytest + - script: cd tests && PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH pytest displayName: 'Test' - job: Typings @@ -60,7 +60,7 @@ stages: - script: git checkout $(System.PullRequest.SourceBranch) displayName: 'Checkout branch' - - script: PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH cd tests && pytest --cov=lightweight --cov-report=html + - script: cd tests && PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH pytest --cov=lightweight --cov-report=html displayName: 'Test with coverage' - script: cd tests && coveralls diff --git a/.release-pipeline.yml b/.release-pipeline.yml index 0fd4ea1..6a0f8b3 100644 --- a/.release-pipeline.yml +++ b/.release-pipeline.yml @@ -20,7 +20,7 @@ stages: python.version: '3.7' steps: - template: .use-python.yml - - script: PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH cd tests && pytest + - script: cd tests && PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH pytest displayName: 'Test' - job: Typings @@ -81,7 +81,7 @@ stages: - script: git checkout master displayName: 'Checkout master' - - script: PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH cd tests && pytest --cov=lightweight --cov-report=html + - script: cd tests && PYTHONPATH=$(Build.Repository.LocalPath):$PYTHONPATH pytest --cov=lightweight --cov-report=html displayName: 'Test with coverage' - script: cd tests && coveralls