open-atmos / devops_tests

pytest test routines asserting for GitHub issue-linked TODO labelling in the code, README link consistency and some Jupyter notebook sanity checks
GNU General Public License v3.0
0 stars 2 forks source link

devops tests for notebook sizes (not to accept large files into the repo) #11

Closed slayoo closed 11 months ago

slayoo commented 1 year ago

something like this would do:

def test_file_size(notebook):
    """ checks if all example Jupyter notebooks have file size less than a certain limit """
    assert os.stat(notebook).st_size * si.byte < 4.5 * si.megabyte
github-actions[bot] commented 11 months ago

Stale issue message

slayoo commented 11 months ago

addressed in #17