Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0c7db1

Browse files
authored
Merge pull request #1054 from pre-commit/rust_ap_linux
Fixes for rust tests on azure pipelines linux
2 parents 016eda9 + 90128c5 commit e0c7db1

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

azure-pipelines.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
os: windows
2121
additional_variables:
2222
COVERAGE_IGNORE_WINDOWS: '# pragma: windows no cover'
23-
TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS RUSTUP_HOME
23+
TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS
2424
TEMP: C:\Temp # remove when dropping python2
2525
- template: job--python-tox.yml@asottile
2626
parameters:
@@ -30,7 +30,6 @@ jobs:
3030
pre_test:
3131
- task: UseRubyVersion@0
3232
- template: step--git-install.yml
33-
- template: step--rust-install.yml
3433
- bash: |
3534
testing/get-swift.sh
3635
echo '##vso[task.prependpath]/tmp/swift/usr/bin'
@@ -41,7 +40,6 @@ jobs:
4140
os: linux
4241
pre_test:
4342
- task: UseRubyVersion@0
44-
- template: step--rust-install.yml
4543
- bash: |
4644
testing/get-swift.sh
4745
echo '##vso[task.prependpath]/tmp/swift/usr/bin'

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist = py27,py36,py37,pypy,pypy3,pre-commit
33

44
[testenv]
55
deps = -rrequirements-dev.txt
6-
passenv = HOME LOCALAPPDATA
6+
passenv = HOME LOCALAPPDATA RUSTUP_HOME
77
commands =
88
coverage erase
99
coverage run -m pytest {posargs:tests}

0 commit comments

Comments
 (0)