Skip to content

Commit

Permalink
Final fix for tests failing on azure?
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrachuk committed Jun 4, 2020
1 parent b2f5fbd commit c0f235d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c0f235d

Please sign in to comment.