Skip to content

Commit

Permalink
Update azure
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaem committed Oct 20, 2023
1 parent 06ac6bf commit 0f12ca6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
- run: which python
- run: |
conda config --set always_yes yes
conda create -n shenfunenv python==${{ matrix.python-version }} conda-build numpy
conda install conda-build numpy
- run: |
conda activate shenfunenv
conda env list
conda build ./conf/conda
9 changes: 6 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@ jobs:
- bash: |
conda config --add channels conda-forge
conda config --set always_yes yes
conda install -n root conda-build numpy
which conda
conda create --name shenfun python=$PYTHON_VERSION conda-build numpy
displayName: Set up Anaconda
- bash: |
conda build --no-test --python $PYTHON_VERSION ./conf/conda
conda create --name shenfun pip shenfun python=$PYTHON_VERSION --use-local
conda env list
source activate shenfun
conda build --no-test ./conf/conda
conda install pip shenfun --use-local
pip install pytest-cov pytest
pytest tests/ --junitxml=junit/test-results.xml --cov=$(python -c "import site; print(site.getsitepackages()[0]+'/shenfun')") --cov-report=xml --cov-report=html
displayName: Build and test
Expand Down

0 comments on commit 0f12ca6

Please sign in to comment.