Skip to content

Merge pull request #424 from RemiLehe/fix_ci #309

Merge pull request #424 from RemiLehe/fix_ci

Merge pull request #424 from RemiLehe/fix_ci #309

Workflow file for this run

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
- shell: bash -eo pipefail -l {0}
name: pyflakes
run: python -m pyflakes openpmd_viewer
- shell: bash -eo pipefail -l {0}
name: Test
run: python setup.py test