Skip to content

Commit

Permalink
Attempt to update azure linux pipeline to use mamba.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuihantao committed Dec 8, 2023
1 parent 30d33f4 commit 9988433
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .azure-pipelines/azure-pipelines-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
timeoutInMinutes: 360
strategy:
matrix:
linux_python3.9:
python.version: '3.9'
linux_python3.11:
python.version: '3.11'

steps:
- task: UsePythonVersion@0
Expand All @@ -20,8 +20,12 @@ jobs:
displayName: 'Use Python $(python.version)'

- script: |
python -m pip install --upgrade pip
pip install .[dev,interop]
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
bash Miniforge3-Linux-x86_64.sh -b
export PATH=$PATH:~/bin
mamba install -y nbmake pytest-xdist line_profiler
mamba install --file requirements.txt --file requirements-extra.txt
python -m pip install -e .
displayName: 'Install dependencies'
- script: |
Expand All @@ -32,4 +36,4 @@ jobs:
- script: |
make -C docs html # Build the documentation.
displayName: 'make documentation'
displayName: 'make documentation'

0 comments on commit 9988433

Please sign in to comment.