diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a468e8aa6..35b84c1a3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/testing/get-dart.sh b/testing/get-dart.sh index b655e1a8d..6fcd982e3 100755 --- a/testing/get-dart.sh +++ b/testing/get-dart.sh @@ -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 @@ -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 diff --git a/tox.ini b/tox.ini index 11b20d418..072165a86 100644 --- a/tox.ini +++ b/tox.ini @@ -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]