Skip to content

Commit 3a6547f

Browse files
authored
Merge pull request #66 from braingram/ci
Re-enable and fix CI
2 parents c1d2f07 + 3c5d648 commit 3a6547f

File tree

10 files changed

+43
-27
lines changed

10 files changed

+43
-27
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
4+
# Maintain dependencies for GitHub Actions (main)
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
target-branch: "main"
8+
schedule:
9+
interval: "weekly"
10+
11+
# Maintain dependencies for pip (main)
12+
- package-ecosystem: "pip"
13+
directory: "/"
14+
target-branch: "main"
15+
schedule:
16+
interval: "weekly"

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
1616
submodules: true

.github/workflows/ci.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ jobs:
1616
name: ${{ matrix.name }}
1717
runs-on: ${{ matrix.os }}
1818
strategy:
19+
fail-fast: false
1920
matrix:
2021
include:
22+
- name: Python 3.13 Schema validation tests
23+
python-version: '3.13'
24+
os: ubuntu-latest
25+
toxenv: py313
26+
2127
- name: Python 3.12 Schema validation tests
2228
python-version: '3.12'
2329
os: ubuntu-latest
@@ -49,22 +55,22 @@ jobs:
4955
toxenv: codestyle
5056

5157
- name: macOS
52-
python-version: 3.11
58+
python-version: 3.13
5359
os: macos-latest
54-
toxenv: py39
60+
toxenv: py313
5561

5662
- name: Windows
57-
python-version: 3.11
63+
python-version: 3.13
5864
os: windows-latest
59-
toxenv: py39
65+
toxenv: py313
6066

6167
steps:
6268
- name: Checkout code
63-
uses: actions/checkout@v2
69+
uses: actions/checkout@v4
6470
with:
6571
fetch-depth: 0
6672
- name: Set up Python ${{ matrix.python-version }}
67-
uses: actions/setup-python@v2
73+
uses: actions/setup-python@v5
6874
with:
6975
python-version: ${{ matrix.python-version }}
7076
- name: Install tox
@@ -79,21 +85,21 @@ jobs:
7985
runs-on: ubuntu-latest
8086
steps:
8187
- name: Checkout asdf-coordinates-schemas
82-
uses: actions/checkout@v2
88+
uses: actions/checkout@v4
8389
with:
8490
fetch-depth: 0
8591
path: asdf-coordinates-schemas
8692
- name: Checkout asdf-astropy dev
87-
uses: actions/checkout@v2
93+
uses: actions/checkout@v4
8894
with:
8995
fetch-depth: 0
9096
repository: astropy/asdf-astropy
9197
ref: main
9298
path: asdf-astropy
93-
- name: Set up Python 3.11
94-
uses: actions/setup-python@v2
99+
- name: Set up Python 3.13
100+
uses: actions/setup-python@v5
95101
with:
96-
python-version: 3.11
102+
python-version: 3.13
97103
- name: Install asdf-coordinates-schemas
98104
run: cd asdf-coordinates-schemas && pip install .
99105
- name: Install asdf-astropy

docs/_static/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ div.highlight-python:active {
4747
.announcement-content a {
4848
padding-right: 1em;
4949
}
50-
50+
5151
.announcement-content a:hover {
5252
color: fuchsia;
5353
}

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ name = 'asdf_coordinates_schemas'
33
description = 'ASDF schemas for coordinates'
44
readme = 'README.md'
55
requires-python = '>=3.9'
6-
license = { file = 'LICENSE' }
6+
license-files = ['LICENSE']
77
authors = [{ name = 'The ASDF Developers', email = 'help@stsci.edu' }]
88
classifiers = [
99
'Programming Language :: Python',
1010
'Programming Language :: Python :: 3',
11-
'Programming Language :: Python :: 3.9',
12-
'Programming Language :: Python :: 3.10',
13-
'Programming Language :: Python :: 3.11',
14-
'Programming Language :: Python :: 3.12',
1511
'Development Status :: 5 - Production/Stable',
1612
'Intended Audience :: Science/Research',
1713
'Topic :: Scientific/Engineering :: Astronomy',
@@ -49,7 +45,7 @@ test = [
4945

5046
[build-system]
5147
requires = [
52-
"setuptools>=60",
48+
"setuptools>77",
5349
"setuptools_scm[toml]>=3.4",
5450
"wheel"
5551
]

resources/schemas/spectralcoord-1.2.0.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ properties:
2323
observer:
2424
description: |
2525
The observer frame for this coordinate
26-
$ref: "baseframe-1.2.0"
26+
$ref: "frames/baseframe-1.2.0"
2727
target:
2828
description: |
2929
The target frame for this coordinate
30-
$ref: "baseframe-1.2.0"
30+
$ref: "frames/baseframe-1.2.0"
3131
required: [value, unit]
3232
...

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
from pathlib import Path
22

3+
import asdf
34
import pytest
45
import yaml
56

6-
import asdf
7-
87

98
def get_latest_schema_uris(resource_paths):
109
by_base_uri = {}
@@ -36,6 +35,7 @@ def get_latest_schema_uris(resource_paths):
3635
def resource_path(request):
3736
yield request.param
3837

38+
3939
@pytest.fixture(params=SCHEMA_PATHS)
4040
def schema_path(request):
4141
yield request.param

tests/test_manifests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"""
55

66
import asdf
7-
import pytest
87
import yaml
98

109

tests/test_schemas.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
import asdf
44

5-
import pytest
6-
75
ALLOWED_REFS = (
86
r"^baseframe-[0-9.]+$",
7+
r"^frames/baseframe-[0-9.]+$",
98
r"^#.*$",
109
)
1110

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist= py39,py310,py311,py312,twine,black,flake8,bandit
2+
envlist= py39,py310,py311,py312,py313,twine,black,flake8,bandit
33
isolated_build = True
44

55
[testenv]

0 commit comments

Comments
 (0)