File tree Expand file tree Collapse file tree 5 files changed +52
-6
lines changed Expand file tree Collapse file tree 5 files changed +52
-6
lines changed Original file line number Diff line number Diff line change 41
41
# - os: ubuntu-latest
42
42
# python: '3.10'
43
43
# tox_env: 'py310-test-alldeps-cov'
44
- - os : macos-12
45
- python : ' 3.13'
46
- tox_env : ' py313-test'
44
+ # - os: macos-12
45
+ # python: '3.13'
46
+ # tox_env: 'py313-test'
47
47
# - os: windows-latest
48
48
# python: '3.8'
49
49
# tox_env: 'py38-test'
94
94
# with:
95
95
# name: documentation
96
96
# path: .tox/docs_out/
97
+ macos-latest-py313 :
98
+ runs-on : macos-latest
99
+ steps :
100
+ - uses : actions/checkout@v4
101
+ - name : Set-Up Python Env
102
+ uses : mamba-org/setup-micromamba@v1
103
+ with :
104
+ init-shell : bash
105
+ environment-name : pint
106
+ cache-environment : true
107
+ cache-downloads : true
108
+ create-args : >-
109
+ --platform osx-64
110
+ -c conda-forge
111
+ python=3.13
112
+ astropy
113
+ git
114
+ - name : Install base dependencies
115
+ shell : bash -el {0}
116
+ run : |
117
+ python -m pip install --upgrade pip
118
+ python -m pip install tox pytest hypothesis numdifftools pathos setuptools
119
+ - name : Print OS, machine info
120
+ shell : bash -el {0}
121
+ run : |
122
+ python -c "import os; print(f'os {os.uname()}')"
123
+ python -c "import platform; print(f'processor {platform.processor()}')"
124
+ python -c "import numpy as np; print(f'eps: {np.finfo(np.longdouble).eps}')"
125
+ - name : Print Python, pip, and tox versions
126
+ shell : bash -el {0}
127
+ run : |
128
+ python -c "import sys; print(f'Python {sys.version}')"
129
+ python -c "import pip; print(f'pip {pip.__version__}')"
130
+ python -c "import tox; print(f'tox {tox.__version__}')"
131
+ - name : Install PINT and requirements
132
+ shell : bash -el {0}
133
+ run : |
134
+ python -m pip install -r requirements.txt
135
+ python -m pip install -r requirements_dev.txt
136
+ python -m pip install --force-reinstall --no-deps .
137
+ - name : Run tests
138
+ shell : bash -el {0}
139
+ run : pytest -v --pyargs tests
140
+
Original file line number Diff line number Diff line change @@ -20,8 +20,11 @@ the released changes.
20
20
- When TCB->TDB conversion info is missing, will print parameter name
21
21
- Piecewise-constant model for chromatic variations (CMX)
22
22
- ` add_param ` returns the name of the parameter (useful for numbered parameters)
23
+ - micromamba CI environment for testing macOS-latest, without tox
23
24
### Fixed
24
25
- Changed WAVE_OM units from 1/d to rad/d.
25
26
- When EQUAD is created from TNEQ, has proper TCB->TDB conversion info
26
27
- TOA selection masks will work when only TOA is the first one
27
28
### Removed
29
+ - macOS 12 CI
30
+
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ jupytext
27
27
pdbpp
28
28
tox
29
29
pre-commit
30
- typed-ast>=1.5.0
31
30
black~=24.0
32
31
pygments
33
32
ipython
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def test_phase_offset():
26
26
m = get_model (io .StringIO (simplepar ))
27
27
28
28
assert hasattr (m , "PHOFF" ) and m .PHOFF .value == 0.2
29
-
29
+ np . random . seed ( 1929 )
30
30
t = make_fake_toas_uniform (
31
31
startMJD = 50000 ,
32
32
endMJD = 50500 ,
Original file line number Diff line number Diff line change 66
66
hypothesis<=6.72.0
67
67
setuptools
68
68
# can change this as needed for a single test run
69
- commands = pytest tests/test_model_derivatives .py
69
+ commands = pytest tests/test_precision .py
70
70
71
71
72
72
[testenv:ephemeris_connection]
You can’t perform that action at this time.
0 commit comments