Skip to content

Commit

Permalink
revertme
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Aug 29, 2021
1 parent 27cacb1 commit 5e644d7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 41 deletions.
45 changes: 5 additions & 40 deletions azure-pipelines.yml
Expand Up @@ -18,45 +18,10 @@ jobs:
toxenvs: [py37]
os: windows
pre_test:
- task: UseRubyVersion@0
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: Add conda to PATH
- powershell: |
Write-Host "##vso[task.prependpath]C:\Strawberry\perl\bin"
Write-Host "##vso[task.prependpath]C:\Strawberry\perl\site\bin"
Write-Host "##vso[task.prependpath]C:\Strawberry\c\bin"
displayName: Add strawberry perl to PATH
- bash: testing/get-dart.sh
displayName: install dart
- powershell: testing/get-r.ps1
displayName: install R
- template: job--python-tox.yml@asottile
parameters:
toxenvs: [py37]
os: linux
name_postfix: _latest_git
pre_test:
- task: UseRubyVersion@0
- template: step--git-install.yml
- bash: testing/get-coursier.sh
displayName: install coursier
- bash: testing/get-dart.sh
displayName: install dart
- bash: testing/get-swift.sh
displayName: install swift
- bash: testing/get-r.sh
displayName: install R
- template: job--python-tox.yml@asottile
parameters:
toxenvs: [pypy3, py36, py37, py38, py39]
os: linux
pre_test:
- task: UseRubyVersion@0
- bash: testing/get-coursier.sh
displayName: install coursier
- bash: testing/get-dart.sh
displayName: install dart
- bash: testing/get-swift.sh
displayName: install swift
- bash: testing/get-r.sh
displayName: install R
- bash: |
echo "$PATH"
echo "$PATH" | xargs -d: -n1
which -a dart
dart --help
5 changes: 5 additions & 0 deletions testing/get-dart.sh
Expand Up @@ -4,6 +4,7 @@ set -euo pipefail
VERSION=2.13.4

if [ "$OSTYPE" = msys ]; then
echo 'getting windows x64!'
URL="https://storage.googleapis.com/dart-archive/channels/stable/release/${VERSION}/sdk/dartsdk-windows-x64-release.zip"
echo "##vso[task.prependpath]$(cygpath -w /tmp/dart-sdk/bin)"
else
Expand All @@ -15,3 +16,7 @@ curl --silent --location --output /tmp/dart.zip "$URL"

unzip -q -d /tmp /tmp/dart.zip
rm /tmp/dart.zip

ls -al /tmp/dart-sdk
echo "cygpath: $(cygpath -w /tmp/dart-sdk/bin)"
ls -al /tmp/dart-sdk/bin
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -6,7 +6,7 @@ deps = -rrequirements-dev.txt
passenv = APPDATA HOME LOCALAPPDATA PROGRAMFILES RUSTUP_HOME
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage run -m pytest {posargs:tests} -k dart
coverage report

[testenv:pre-commit]
Expand Down

0 comments on commit 5e644d7

Please sign in to comment.