-
Notifications
You must be signed in to change notification settings - Fork 167
30 lines (27 loc) · 1022 Bytes
/
ci_cron.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: test on schedule
on:
schedule:
# Weekly Monday 6AM build
- cron: "0 0 * * 1"
workflow_dispatch:
jobs:
crds_contexts:
uses: spacetelescope/crds/.github/workflows/contexts.yml@master
test:
if: (github.repository == 'spacetelescope/jwst' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'run scheduled tests')))
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
needs: [ crds_contexts ]
with:
setenv: |
CRDS_PATH: /tmp/crds_cache
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
CRDS_CLIENT_RETRY_COUNT: 3
CRDS_CLIENT_RETRY_DELAY_SECONDS: 20
cache-path: /tmp/crds_cache
cache-key: crds-${{ needs.crds_context.outputs.jwst }}
envs: |
- macos: py39-xdist
- macos: py310-xdist
- macos: py312-xdist
- linux: py311-pyargs-xdist
- linux: py3-pyargs-xdist