Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Feb 16, 2024
1 parent 45bd299 commit 59fbbe6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/compare_asdf_support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Compare ASDF support

on:
workflow_dispatch:
push:
branches:
- main
- '*.x'
tags:
- '*'
pull_request:

# Only cancel in-progress jobs or runs for the current workflow
# This cancels the already triggered workflows for a specific PR without canceling
# other instances of this workflow (other PRs, scheduled triggers, etc) when something
# within that PR re-triggers this CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
compare_asdf_support:
uses: braingram/asdf-actions/.github/workflows/compare_asdf_support.yml@main

7 changes: 6 additions & 1 deletion asdf_zarr/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ class ZarrExtension(asdf.extension.Extension):
tags = ["asdf://stsci.edu/example-project/tags/zarr-1.0.0"]
converters = [ZarrConverter()]

class ZarrExtensionV2(asdf.extension.Extension):
extension_uri = "asdf://stsci.edu/example-project/tags/zarr-2.0.0"
tags = ["asdf://stsci.edu/example-project/tags/zarr-2.0.0"]
converters = [ZarrConverter()]


def get_extensions():
return [ZarrExtension()]
return [ZarrExtensionV2(), ZarrExtension()]

0 comments on commit 59fbbe6

Please sign in to comment.