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 4 forks source link

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

Closed slayoo closed 1 year 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 1 year ago

Stale issue message

slayoo commented 1 year ago

addressed in #17