Skip to content

Commit

Permalink
add windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Feb 16, 2021
1 parent 1c88c22 commit a72bde1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Expand Up @@ -26,6 +26,10 @@ jobs:
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
- task: PowerShell@2
inputs:
filePath: "testing/get-renv.ps1"
displayName: install R (for language renv)
- template: job--python-tox.yml@asottile
parameters:
toxenvs: [py37]
Expand Down
5 changes: 2 additions & 3 deletions testing/get-renv.ps1
@@ -1,7 +1,6 @@
$dir = "C:\R\R-win.exe"
$dir = $Env:Temp
$urlR = "https://cran.r-project.org/bin/windows/base/R-4.0.3-win.exe"
$outputR = "$dir\R-win.exe"
$wcR = New-Object System.Net.WebClient
$wcR.DownloadFile($urlR, $outputR)
$dirR = $dir + "R-win.exe"
Start-Process -FilePath $dirR -ArgumentList "/S /v/qn"
Start-Process -FilePath $outputR -ArgumentList "/S /v/qn"

0 comments on commit a72bde1

Please sign in to comment.