forked from ome/ome-zarr-py
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.29 KB
/
zarr-dev.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
41
42
43
44
45
46
47
---
name: Build using Zarr development branch
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.platform }} ${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: true
matrix:
platform: [ubuntu-latest]
python-version: [3.8]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
channels: conda-forge,ome
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
- name: Install Linux dependencies
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt install libxkbcommon-x11-0
/sbin/start-stop-daemon --start --quiet \
--pidfile /tmp/custom_xvfb_99.pid --make-pidfile \
--background --exec /usr/bin/Xvfb \
-- :99 -screen 0 1920x1200x24 -ac +extension GLX
- name: Install dependencies
shell: bash -l {0}
run: |
python -m pip install --upgrade pip wheel pytest tox
python -m pip install \
git+https://github.com/zarr-developers/zarr-python.git@master
- name: Run pytest
shell: bash -l {0}
run: pytest