change to bash task
@@ -94,27 +94,33 @@ jobs:
displayName: Take ownership of Conda installation on MacOS
condition: eq( variables['Agent.OS'], 'Darwin' )
- - bash: conda config --add channels conda-forge
+ - task: Bash@3
+ script: conda config --add channels conda-forge
displayName: Add Conda-Forge
noProfile: false
- - bash: conda config --set always_yes true
+ - task: Bash@3
+ script: conda config --set always_yes true
displayName: Make Conda always pass yes
noProfile: false
- - bash: conda update --quiet conda
+ - task: Bash@3
+ script: conda update --quiet conda
displayName: Update Conda
noProfile: false
- - bash: conda install --quiet python=$(python) pip "xlwings >= 0.15.4"
+ - task: Bash@3
+ script: conda install --quiet python=$(python) pip "xlwings >= 0.15.4"
displayName: Install Python, Pip and xlwings
noProfile: false
- - bash: "python -c \"import sys; print(sys.version); print(sys.executable)\""
+ - task: Bash@3
+ script: "python -c \"import sys; print(sys.version); print(sys.executable)\""
displayName: Show Python Information
noProfile: false
- - bash: conda info --all
+ - task: Bash@3
+ script: conda info --all
displayName: Show Conda Information
noProfile: false
@@ -122,20 +128,24 @@ jobs:
displayName: Install matplotlib and pymssql with Conda on MacOS
condition: eq( variables['Agent.OS'], 'Darwin' )
- - bash: conda install --quiet shapely
+ - task: Bash@3
+ script: conda install --quiet shapely
displayName: Install shapely with Conda on Windows
condition: eq( variables['Agent.OS'], 'Windows_NT' )
noProfile: false
- - bash: yarn
+ - task: Bash@3
+ script: yarn
displayName: Run yarn
noProfile: false
- - bash: yarn install:test
+ - task: Bash@3
+ script: yarn install:test
displayName: Install dependencies for testing with yarn
noProfile: false
- - bash: "pytest -v"
+ - task: Bash@3
+ script: "pytest -v"
displayName: Run tests
noProfile: false
