Skip to content

add data workflow to retrieve WebbPSF cache and rename toxenvs #1344

add data workflow to retrieve WebbPSF cache and rename toxenvs

add data workflow to retrieve WebbPSF cache and rename toxenvs #1344

Workflow file for this run

name: CI
on:
push:
branches:
- main
- '*x'
tags:
- '*'
pull_request:
branches:
- main
schedule:
# Weekly Monday 9AM build
- cron: "0 9 * * 1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: check-style
- linux: check-security
- linux: check-build
test:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: test-oldestdeps-cov-xdist
python-version: 3.9
- linux: test-xdist
python-version: '3.9'
- linux: test-xdist
python-version: '3.10'
- linux: test-xdist
python-version: '3.11'
- macos: test-xdist
python-version: '3.11'
- linux: test-cov-xdist
coverage: 'codecov'
data:
uses: ./.github/workflows/data.yml
test_downstream:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
needs: [ data ]
with:
setenv: |
WEBBPSF_PATH: ${{ needs.data.outputs.webbpsf_path }}
CRDS_PATH: ${{ needs.data.outputs.path }}/crds_cache
CRDS_CLIENT_RETRY_COUNT: 3
CRDS_CLIENT_RETRY_DELAY_SECONDS: 20
cache-path: ${{ needs.data.outputs.webbpsf_path }}
cache-key: webbpsf-${{ needs.data.outputs.webbpsf_hash }}
envs: |
- linux: test-jwst-cov-xdist
- linux: test-romancal-cov-xdist