Skip to content

Commit

Permalink
add new ci for v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocerrone committed Sep 23, 2024
1 parent 3f08c3d commit 0ae076b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/v3_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ZarrV3 CI

on:
push:
branches:
- main
tags:
- "v*"
pull_request:
workflow_dispatch:

# cancel in-progress runs that use the same workflow and branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

test:
name: Test zarr-python v3 compatibility
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache-dependency-path: "pyproject.toml"
cache: "pip"

- name: Install Dependencies
run: |
python -m pip install -U pip
# if running a cron job, we add the --pre flag to test against pre-releases
python -m pip install .[dev3] ${{ github.event_name == 'schedule' && '--pre' || '' }}
- name: 🧪 Run Tests
run: pytest

0 comments on commit 0ae076b

Please sign in to comment.