open-AIMS / ADRIA.jl

ADRIA: Adaptive Dynamic Reef Intervention Algorithms. A multi-criteria decision support platform for informing reef restoration and adaptation interventions.
MIT License
14 stars 5 forks source link

feat: restore unit testing and add julia caching #845

Closed PeterBaker0 closed 3 weeks ago

PeterBaker0 commented 3 weeks ago

feat: restore unit testing and add julia caching

Description

Adds unit tests back to CI workflow. Currently can be manually triggered, and is run on each push to main. Recommendation is to run before merging a PR to minimise build hours used by pushing repeatedly on an existing pull request.

Optimises slightly by using a Julia cache which includes compiled libraries among other artifacts.

Removes matrix for Julia versions - currently tests only latest ^1.

Restores code cov by including token which @ConnectedSystems established for this repo. Coverage is sitting at 50% approximately.

PeterBaker0 commented 3 weeks ago

Please merge #844 first as this depends on it for the unit tests to pass.