Fix access to dataOrder
#328
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unix | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
os: [ubuntu-20.04] | |
include: | |
- python-version: 3.9 | |
os: macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
channels: conda-forge,defaults | |
- shell: bash -eo pipefail -l {0} | |
name: Install dependencies | |
run: | | |
if [ "${{ matrix.python-version }}" != "3.8" ]; then | |
conda install --yes cython numpy scipy h5py openpmd-api matplotlib jupyter pytest pyflakes python=${{ matrix.python-version }} python-wget | |
else | |
conda install --yes cython numpy scipy h5py matplotlib jupyter pytest pyflakes python=${{ matrix.python-version }} python-wget | |
fi; | |
python setup.py install | |
- shell: bash -eo pipefail -l {0} | |
name: pyflakes | |
run: python -m pyflakes openpmd_viewer | |
- shell: bash -eo pipefail -l {0} | |
name: Test | |
run: python -m pytest tests |