Skip to content

Commit f4e077e

Browse files
committed
Use docker commands from zarr-developers#858
1 parent c0ef6ac commit f4e077e

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

Diff for: .github/workflows/bigendian.sh

+15-6
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,19 @@ set -x
88
# see: https://github.community/t/testing-against-multiple-architectures/17111/6
99
#
1010
apt-get update -y
11-
apt-get install -y python3
12-
python3 --version
13-
python3 -c "import platform; print(platform.machine())"
14-
python3 -c "import sys;sys.exit(0 if sys.byteorder=='big' else 1)"
11+
apt-get install -y \
12+
python3 \
13+
python3-setuptools \
14+
python3-pip \
15+
python3-pytest \
16+
python3-msgpack \
17+
python3-fsspec \
18+
python3-numcodecs \
19+
python3-asciitree \
20+
python3-fasteners
21+
echo =================================
1522
lscpu | grep Endian
16-
echo -n "Test endianness: 0=Big, 1=Little ? "
17-
echo -n I | od -to2 | head -n1 | cut -f2 -d" " | cut -c6
23+
echo =================================
24+
25+
python -m pip install .
26+
pytest -sv

0 commit comments

Comments
 (0)