Skip to content

Commit

Permalink
Merge pull request #19 from JohanMabille/azure
Browse files Browse the repository at this point in the history
Fixed Azure Pipeline
  • Loading branch information
JohanMabille committed Dec 1, 2020
2 parents 6acb21c + 3fc0984 commit c027c85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .azure-pipelines/unix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,25 @@ steps:
displayName: Build xtensor-zarr
workingDirectory: $(Build.BinariesDirectory)/build
- script: |
source activate xtenso-zarr
./test_xtensor_zarr
displayName: Test xtensor-zarr
workingDirectory: $(Build.BinariesDirectory)/build/test
- script: |
source activate xtensor-zarr
mkdir dev_tmp
cd dev_tmp
wget https://github.com/alimanfoo/zarrita/archive/master.tar.gz -O zarrita.tar.gz -q
#wget https://github.com/alimanfoo/zarrita/archive/master.tar.gz -O zarrita.tar.gz -q
curl -LJO https://github.com/alimanfoo/zarrita/archive/master.tar.gz
mkdir zarrita
tar zxf zarrita.tar.gz -C zarrita --strip-components 1
tar zxf zarrita-master.tar.gz -C zarrita --strip-components 1
mv zarrita/zarrita.py ../test
displayName: Install zarrita
workingDirectory: $(Build.SourcesDirectory)
- script: |
source activate xtenso-zarr
python zarrita_write.py
python zarr_write.py
python zarrita_read.py
python zarr_read.py
source activate xtensor-zarr
python $(Build.SourcesDirectory)/test/zarrita_write.py
python $(Build.SourcesDirectory)/test/zarr_write.py
./test_xtensor_zarr
python $(Build.SourcesDirectory)/test/zarrita_read.py
python $(Build.SourcesDirectory)/test/zarr_read.py
displayName: Test xtensor-zarr
workingDirectory: $(Build.SourcesDirectory)/test
workingDirectory: $(Build.BinariesDirectory)/build/test
1 change: 1 addition & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies:
- zlib
- xtensor-io
- zarray
# Test dependencies
- fsspec
- numpy
- numcodecs
Expand Down

0 comments on commit c027c85

Please sign in to comment.