-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
40 lines (35 loc) · 929 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '{build}'
image:
- macos
- Ubuntu2204
configuration: Release
platform:
- x64
for:
-
matrix:
only:
- image: macos
install:
- curl -Ls https://micro.mamba.pm/api/micromamba/osx-64/latest | tar -xvj bin/micromamba
- mv bin/micromamba ./micromamba
-
matrix:
only:
- image: Ubuntu2204
install:
- curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
- mv bin/micromamba ./micromamba
build_script:
- ./micromamba shell init -s bash --root-prefix ~/micromamba
- source ~/.bashrc
- source ~/.profile
- hash -r
- mkdir -p ~/micromamba/pkgs/
- export MAMBA_ROOT_PREFIX=~/micromamba
- export MAMBA_EXE=$(pwd)/micromamba
- . $MAMBA_ROOT_PREFIX/etc/profile.d/mamba.sh
- micromamba create -y -f environment.yml -c conda-forge
- micromamba activate ~/micromamba/envs/nc2zarr
- pip install --no-deps .
- python3 -m pytest