Skip to content
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": "1bdd28c1e2d725d9ae9d9c0b6ad682d75687f45d",
"commit": "15fdf534198e4f67f0a667af7d2367e93de181c5",
"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": "1bdd28c1e2d725d9ae9d9c0b6ad682d75687f45d"
"_commit": "15fdf534198e4f67f0a667af7d2367e93de181c5"
}
},
"directory": null
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ concurrency:

jobs:
core:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2
with:
submodules: false
coverage: codecov
toxdeps: "tox-pypi-filter"
posargs: -n auto
envs: |
- linux: py312
- linux: py313
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -54,23 +54,23 @@ jobs:

test:
needs: [core, sdist_verify]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2
with:
submodules: false
coverage: codecov
toxdeps: "tox-pypi-filter"
posargs: -n auto
envs: |
- windows: py10
- macos: py311
- windows: py311
- macos: py312
- linux: py310-oldestdeps
- linux: py311-devdeps
- linux: py313-devdeps
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

docs:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2
with:
default_python: '3.12'
submodules: false
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'Run publish')
)
needs: [test, docs]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v2
with:
python-version: '3.12'
test_extras: 'tests'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ dynamic = [ "version" ]

[project.optional-dependencies]
tests = [
"astropy", # Doctests
"pytest",
"pytest-astropy",
"pytest-doctestplus",
"pytest-cov",
"pytest-xdist",
"astropy",
]
docs = [
"sphinx",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ setenv =
JSOC_EMAIL = jsoc@sunpy.org
deps =
# For packages which publish nightly wheels this will pull the latest nightly
devdeps: numpy>=0.0.dev0
# devdeps: astropy>=0.0.dev0
# Packages without nightly wheels will be built from source like this
# devdeps: git+https://github.com/ndcube/ndcube
oldestdeps: minimum_dependencies
# The following indicates which extras_require will be installed
# Extra pluings for the CI
pytest-xdist
pytest-timeout
# These are specific extras we use to run the sunpy tests.
sunpy: git+https://github.com/sunpy/sunpy
sunpy: sunpy>=0.0.dev0
sunpy: beautifulsoup4
sunpy: mpl-animators
sunpy: reproject
Expand Down