Skip to content

testing for zarr v2 and v3 #220

testing for zarr v2 and v3

testing for zarr v2 and v3 #220

name: pytest
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test pip install python ${{ matrix.python-version }} on ${{ matrix.os }} with zarr ${{ matrix.zarr-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
fail-fast: false

Check failure on line 18 in .github/workflows/python-package-pip.yml

View workflow run for this annotation

GitHub Actions / pytest

Invalid workflow file

The workflow is not valid. .github/workflows/python-package-pip.yml (Line: 18, Col: 20): Unexpected value 'false'
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10"]
zarr-version: [">=2,<3", ">2,<=3"]
steps:
- uses: actions/checkout@v2
- name: Install package with pip
run: |
python -m pip install . "zarr${{ matrix.zarr-version }}"
python -m pip install pytest
- name: Run tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
python -m pytest tests/