Skip to content

Synchronize gwcs region with changes in jwst/romancal (#517) #772

Synchronize gwcs region with changes in jwst/romancal (#517)

Synchronize gwcs region with changes in jwst/romancal (#517) #772

Workflow file for this run

name: 'CI'
on:
push:
branches:
- 'master'
tags:
- '*'
pull_request:
schedule:
# Weekly Monday 9AM build
# * is a special character in YAML so you have to quote this string
- cron: '0 9 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DATA_PATH: /tmp/data
jobs:
check:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0
with:
envs: |
- linux: check-style
- linux: check-security
test:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0
with:
envs: |
- linux: py310
- linux: py310-numpy123
- linux: py310-numpy125
- linux: py311
pytest-results-summary: true
- macos: py311
pytest-results-summary: true
- linux: py311-pyargs
- linux: py311-cov
coverage: codecov
pytest-results-summary: true
- linux: py312
- linux: py3-dev
environment:
runs-on: ubuntu-latest
steps:
- id: data_path
run: echo "path=${{ env.DATA_PATH }}" >> $GITHUB_OUTPUT
outputs:
data_path: ${{ steps.data_path.outputs.path }}
crds_contexts:
uses: ./.github/workflows/contexts.yml
test_downstream:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0
needs: [ environment, crds_contexts ]
with:
setenv: |
CRDS_PATH: ${{ needs.environment.outputs.data_path }}/crds
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
CRDS_CLIENT_RETRY_COUNT: 3
CRDS_CLIENT_RETRY_DELAY_SECONDS: 20
cache-path: ${{ needs.environment.outputs.data_path }}/crds
cache-key: crds-${{ needs.crds_contexts.outputs.jwst }}
envs: |
- linux: py311-test-jwst-cov-xdist