Skip to content

Commit

Permalink
Fix cov job (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Aug 28, 2023
1 parent 84a29de commit e2689a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,20 @@ 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: test-xdist
Expand All @@ -17,4 +26,4 @@ jobs:
python-version: 3.9
- macos: test-xdist
python-version: 3.10
- linux: test-devdeps-xdist
- linux: test-xdist-devdeps
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
check-{style,build}
test-xdist
test-xdist{,-cov,-devdeps}
build-{docs,dist}

[testenv:check-style]
Expand Down

0 comments on commit e2689a5

Please sign in to comment.