Open olexandr-konovalov opened 2 years ago
I have started to experiment with the 1st option in my fork - see https://github.com/olexandr-konovalov/artwarp/tree/setup-ci branch. At the moment it has two tests, which "pass" :) see https://github.com/olexandr-konovalov/artwarp/actions
One of them is supposed to run unit tests and passes without errors, having not discovering any :) Next step would be to find out how unit tests look like in MATLAB and try to add some simplest one.
The other test runs ARTwarp_csv
script. It does not complain. @michaelstanway does the output at https://github.com/olexandr-konovalov/artwarp/actions/runs/4128741797/jobs/7133560798 make sense to you? You mentioned running in batch mode today, perhaps you can suggest what to do to run it in the same way in GitHub actions?
P.S. Some documentation links:
Progress made in #43, #44, #45. Next step is to try to get code coverage to work. And of course, we can already make a PR from the rewrite
branch to main
and it will be "tested" - in quotes since there are no actual tests yet, but they should eventually appear (counting on @michaelstanway, @harvard-tham and @lixitrixi!)
Now #53 sets up codecov for unit tests, but still need to add for scripted tests.
See also #52 and #54 - now it seems to work properly! @tatedunbar where we can go from here - there are actually several possiblities:
stable-1
branch (https://github.com/dolphin-acoustics-vip/artwarp/tree/stable-1) which keeps the stable version of ARTWarpstable-1
stable-1
branch.
It may be useful to explore: