Skip to content

Commit

Permalink
lint and test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Nov 26, 2024
1 parent 56f9f14 commit 31a2672
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% set version = "7.0.0" -%}
{% set python_min = python_min | default("3.11") -%}
{% set min_py = python_min | replace('.', '') | int -%}
{% set py = py | default(min_py) -%}

package:
name: astropy-base
Expand Down
17 changes: 5 additions & 12 deletions recipe/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,10 @@

from astropy import test

# Do not include the io.ascii tests unless/until this issue is fixed:
# https://github.com/astropy/astropy/issues/9864
#
# They take more than two hours to run on some platforms!
# test(package='io.ascii')

if ((platform.machine() == 'aarch64') and
(platform.python_implementation().lower() != 'cpython')):
print('WARNING: Skipping tests on aarch64/PyPy because they take too long')

else:
test(package='time')
if platform.machine() in ('aarch64', 'ppc64le'):
print('WARNING: Skipping most tests on aarch64/ppc64le because they take too long')
test(package='wcs')
test(package='convolution')
test(package='io.fits')
else:
test()

0 comments on commit 31a2672

Please sign in to comment.