Skip to content

Commit

Permalink
Merge pull request #877 from dcs4cop/pont-876-appveyor
Browse files Browse the repository at this point in the history
Make AppVeyor config use the correct git branch
  • Loading branch information
pont-us authored Aug 7, 2023
2 parents 4dc6f52 + 5a41787 commit a321fd1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ build_script:
# Diagnostics
- echo $PLATFORM
- echo $APPVEYOR_BUILD_WORKER_IMAGE
- echo $APPVEYOR_BUILD_FOLDER
- uname -a
- pwd
- ls
Expand All @@ -42,17 +43,17 @@ build_script:
- export MAMBA_EXE=$(pwd)/micromamba
- . $MAMBA_ROOT_PREFIX/etc/profile.d/micromamba.sh

# Clone repo, create environment, and install xcube
- git clone https://github.com/dcs4cop/xcube $HOME/xcube
- micromamba create --name xc --file $HOME/xcube/environment.yml
# Create environment from build folder environment.yml and install xcube
- micromamba create --name xc --file $APPVEYOR_BUILD_FOLDER/environment.yml
- micromamba activate xc
- cd $HOME/xcube
- cd $APPVEYOR_BUILD_FOLDER
- python setup.py install

# Make sure pytest is installed
- micromamba install --yes --name xc --channel conda-forge pytest attrs

# Print some diagnostics (useful for debugging)
- git status
- micromamba list
- xcube --version
- python -c "from xcube import __version__; print(f'xcube version {__version__}')"
Expand Down

0 comments on commit a321fd1

Please sign in to comment.