Skip to content

Commit 1fecfbf

Browse files
github-actions[bot]nabobalisCadair
authored
Updates from the package template (#181)
* Automatic package template update * Update .pre-commit-config.yaml * Update ci.yml * Update ci.yml --------- Co-authored-by: nabobalis <[email protected]> Co-authored-by: Stuart Mumford <[email protected]>
1 parent 4caaea9 commit 1fecfbf

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sunpy/package-template",
3-
"commit": "09c4b023b973d0bbc5704326720f21d3a766bb11",
3+
"commit": "12de35d0dae26a0ec25fdb591655d2de5a0674d3",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -32,7 +32,7 @@
3232
".github/workflows/sub_package_update.yml"
3333
],
3434
"_template": "https://github.com/sunpy/package-template",
35-
"_commit": "09c4b023b973d0bbc5704326720f21d3a766bb11"
35+
"_commit": "12de35d0dae26a0ec25fdb591655d2de5a0674d3"
3636
}
3737
},
3838
"directory": null

.github/workflows/ci.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ on:
1515
pull_request:
1616
# Allow manual runs through the web UI
1717
workflow_dispatch:
18+
schedule:
19+
# ┌───────── minute (0 - 59)
20+
# │ ┌───────── hour (0 - 23)
21+
# │ │ ┌───────── day of the month (1 - 31)
22+
# │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
23+
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
24+
- cron: '0 7 * * 3' # Every Wed at 07:00 UTC
1825

1926
concurrency:
2027
group: ${{ github.workflow }}-${{ github.ref }}
@@ -57,6 +64,7 @@ jobs:
5764
- windows: py311
5865
- macos: py312
5966
- linux: py310-oldestdeps
67+
- linux: py313-devdeps
6068
secrets:
6169
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6270

@@ -79,23 +87,6 @@ jobs:
7987
envs: |
8088
- linux: build_docs
8189
82-
cron:
83-
if: |
84-
github.event_name == 'workflow_dispatch' || (
85-
github.event_name == 'pull_request' &&
86-
contains(github.event.pull_request.labels.*.name, 'Run cron CI')
87-
)
88-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
89-
with:
90-
default_python: '3.13'
91-
submodules: false
92-
coverage: codecov
93-
toxdeps: tox-pypi-filter
94-
envs: |
95-
- linux: py313-devdeps
96-
secrets:
97-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
98-
9990
publish:
10091
# Build wheels on PRs only when labelled. Releases will only be published if tagged ^v.*
10192
# see https://github-actions-workflows.openastronomy.org/en/latest/publish.html#upload-to-pypi

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# This should be before any formatting hooks like isort
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: "v0.11.4"
4+
rev: "v0.11.7"
55
hooks:
66
- id: ruff
77
args: ["--fix"]

0 commit comments

Comments
 (0)