edoddridge / aronnax

An idealised isopycnal model that can be run either with n+1/2 layers, or with n layers and variable bathymetry.
http://aronnax.readthedocs.io/en/latest/
MIT License
24 stars 6 forks source link

Test tidying #166

Closed edoddridge closed 6 years ago

edoddridge commented 6 years ago

The test using the Hypre library didn't previously run with the pytest command. This was by design since the code coverage information got confused if we recompiled the core part way through the tests. However, we can achieve this more elegantly by using a keyword with the pytest command when running on Travis.

This PR means that executing pytest now runs a Hypre test by default.

This PR also adds the RelativeWind keyword to the config files for the benchmark simulations.

codecov[bot] commented 6 years ago

Codecov Report

Merging #166 into master will increase coverage by 0.15%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
+ Coverage   94.81%   94.97%   +0.15%     
==========================================
  Files           5        5              
  Lines        1273     1273              
  Branches       70       70              
==========================================
+ Hits         1207     1209       +2     
+ Misses         49       48       -1     
+ Partials       17       16       -1
Impacted Files Coverage Δ
aronnax.f90 94.79% <0%> (+0.2%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 21ad50b...b1104bd. Read the comment docs.