NASA-Planetary-Science / sbpy

A Python package for small bodies research
https://sbpy.org/
Other
67 stars 34 forks source link

Mark slow tests #385

Open mkelley opened 1 year ago

mkelley commented 1 year ago

Mark the slowest tests as "slow" and only run them on CI once. Also enable parallel execution on the testing environment that runs alldeps and the slow tests.

This PR requires pytest-astropy>=0.10, which supports the use of pytest.mark.slow.

codecov[bot] commented 1 year ago

Codecov Report

Merging #385 (416ec92) into main (36285d0) will decrease coverage by 1.60%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #385      +/-   ##
==========================================
- Coverage   76.84%   75.24%   -1.60%     
==========================================
  Files          78       78              
  Lines        6974     6981       +7     
==========================================
- Hits         5359     5253     -106     
- Misses       1615     1728     +113     
Files Changed Coverage Δ
sbpy/activity/gas/tests/test_core.py 69.76% <100.00%> (-30.24%) :arrow_down:

... and 1 file with indirect coverage changes