Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nden committed Jan 12, 2024
1 parent 9c56df1 commit 9b329de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- "*.*.x"
- "*"
tags:
- '*'
pull_request:
Expand Down
3 changes: 3 additions & 0 deletions tests/test_maker_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ def mutate_value(value):
if isinstance(value, Time):
return value + 1 * u.day

if isinstance(value, gwcs.WCS):
return value.pipeline[0].transform.offset_0 += 1

if isinstance(value, stnode.TaggedScalarNode):
return value.__class__(mutate_value(value.__class__.__bases__[0](value)))

Expand Down

0 comments on commit 9b329de

Please sign in to comment.