Discussion: Versioned RAD #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weekly cron | |
on: | |
schedule: | |
# Weekly Monday 6AM build | |
- cron: "0 0 * * 1" | |
pull_request: | |
# We also want this workflow triggered if the `Weekly CI` label is | |
# added or present when PR is updated | |
types: | |
- synchronize | |
- labeled | |
push: | |
tags: "*" | |
workflow_dispatch: | |
jobs: | |
test: | |
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 | |
if: (github.repository == 'spacetelescope/rad' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Weekly CI'))) | |
with: | |
envs: | | |
- macos: py39-xdist | |
- macos: py310-xdist | |
- linux: py312-devdeps-xdist |