forked from NeurodataWithoutBorders/nwbinspector
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.13 KB
/
streaming-tests.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
name: Streaming tests
on: workflow_call
jobs:
build-and-test:
name: Streaming tests using ${{ matrix.os }} with ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.8", "3.11"]
steps:
- uses: s-weigand/setup-conda@v1
with:
update-conda: true
python-version: ${{ matrix.python-version }}
conda-channels: conda-forge
- uses: actions/checkout@v3
- run: git fetch --prune --unshallow --tags
- name: Install pytest
run: pip install pytest
- name: Install package
run: |
pip install -e .
pip install dandi
- name: Install HDMF-zarr # temporary
run: pip install hdmf-zarr
- name: Install latest HDMF # temporary
run: pip install -U hdmf
- name: Uninstall h5py
run: pip uninstall -y h5py
- name: Install ROS3
run: conda install -c conda-forge h5py
- name: Run pytest on stream tests
run: pytest tests/ -rsx tests/streaming_tests.py