cpp-lln-lab / CPP_BIDS

a set of matlab / octave function to create BIDS comptible folder structure and filenames
https://cpp-bids.readthedocs.io/en/dev/index.html
MIT License
1 stars 9 forks source link

[INFRA] [TEST] failing tests in CI #145

Closed Remi-Gau closed 2 years ago

Remi-Gau commented 3 years ago

OK this is a REALLY dirty temporary hack where the tests return after having run the functions they are supposed to tests but before they actually check the content.

This is basically now just a "smoke test". Better than nothing but it leaves much to be desired.

Incriminated tests:

Pasting here the content of the failed CI and will reference this in another issue so we know this has to be improved.

See https://github.com/cpp-lln-lab/CPP_BIDS/pull/144/checks?check_run_id=1411109386

failure: /github/workspace/lib/JSONio/jsonread.mex: failed to load: liboctinterp.so.4: cannot open shared object file: No such file or directory
  jsondecode:27 (/github/workspace/lib/bids-matlab/+bids/+util/jsondecode.m)
  test_createDataDictionary>test_createDataDictionaryBasic:57 (/github/workspace/tests/test_createDataDictionary.m)

failure: /github/workspace/lib/JSONio/jsonread.mex: failed to load: liboctinterp.so.4: cannot open shared object file: No such file or directory
  jsondecode:27 (/github/workspace/lib/bids-matlab/+bids/+util/jsondecode.m)
  test_createDataDictionary>test_createDataDictionaryStim:123 (/github/workspace/tests/test_createDataDictionary.m)

failure: /github/workspace/lib/JSONio/jsonread.mex: failed to load: liboctinterp.so.4: cannot open shared object file: No such file or directory
  jsondecode:27 (/github/workspace/lib/bids-matlab/+bids/+util/jsondecode.m)
  test_createJson>test_createJsonExtra:158 (/github/workspace/tests/test_createJson.m)

_Originally posted by @Remi-Gau in https://github.com/cpp-lln-lab/CPP_BIDS/issues/144#issuecomment-728795553_

Remi-Gau commented 3 years ago

New error same problem

failure: fileread: cannot open file
  fileread:37 (/octave/share/octave/5.2.0/m/io/fileread.m)
  jsondecode:27 (/github/workspace/lib/bids-matlab/+bids/+util/jsondecode.m)
  test_createDataDictionary>test_createDataDictionaryBasic:62 (/github/workspace/tests/test_createDataDictionary.m)