Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates from package template #197

Merged
merged 3 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/sunpy/package-template",
"commit": "09c4b023b973d0bbc5704326720f21d3a766bb11",
"commit": "e0e2aa7daee8481747690616356a0f3fa33c177b",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down Expand Up @@ -32,7 +32,7 @@
".github/workflows/sub_package_update.yml"
],
"_template": "https://github.com/sunpy/package-template",
"_commit": "09c4b023b973d0bbc5704326720f21d3a766bb11"
"_commit": "e0e2aa7daee8481747690616356a0f3fa33c177b"
}
},
"directory": null
Expand Down
25 changes: 3 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
# │ │ ┌───────── day of the month (1 - 31)
# │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
- cron: '0 7 * * 1' # Every Monday at 07:00 UTC
- cron: '0 7 * * 3' # Every Wed at 07:00 UTC

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -73,6 +73,7 @@ jobs:
- linux: py310-oldestdeps
- linux: py312
runs-on: ubuntu-24.04-arm
- linux: py313-devdeps
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -90,26 +91,6 @@ jobs:
envs: |
- linux: build_docs

cron:
if: |
(
github.event_name == 'workflow_dispatch' ||
github.event_name == 'schedule'
) || (
github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Run cron CI')
)
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
default_python: '3.12'
submodules: false
coverage: codecov
toxdeps: tox-pypi-filter
envs: |
- linux: py311-devdeps
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

publish:
# Build wheels on PRs only when labelled. Releases will only be published if tagged ^v.*
# see https://github-actions-workflows.openastronomy.org/en/latest/publish.html#upload-to-pypi
Expand Down Expand Up @@ -139,7 +120,7 @@ jobs:

notify:
if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
needs: [publish, cron]
needs: [publish]
runs-on: ubuntu-latest
steps:
- uses: Cadair/matrix-notify-action@main
Expand Down