Skip to content
Snippets Groups Projects
Select Git revision
  • 437955468c428b3c2a892ee192e35957cb117845
  • develop default protected
  • origin/stage/bouguettaia
  • feature/variational-hydro
  • feature/gmsh-reader
  • feature/reconstruction
  • save_clemence
  • feature/kinetic-schemes
  • feature/local-dt-fsi
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master protected
  • v0.5.0 protected
  • v0.4.1 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0 protected
  • Kidder
  • v0.0.4 protected
  • v0.0.3 protected
  • v0.0.2 protected
  • v0 protected
  • v0.0.1 protected
33 results

CMakeLists.txt

Blame
  • CONTRIBUTING.md 3.47 KiB

    Contributing to pugs


    Branches

    develop and master branches are protected. This means that one cannot push on them, so before to do any code change one has to create a working branch. The following conventions are greatly encouraged:

    • feature/my_outstanding_feature
    • issue/issue-number (if no number is related to the issue please consider opening an issue and assign it to yourself)

    Tests and coverage

    Running tests

    Tests are built automatically and are run typing

    make; make test

    all tests should be running correctly before any merge request

    Unit tests

    Unit tests are defined in the tests directory. New unit tests should be written or updated when needed.

    Coverage

    Preferably, one should install gcovr and build pugs specifying the Coverage build type > cmake -DCMAKE_BUILD_TYPE=Coverage [...]

    However coverage is computed at each push by the gitlab-ci.


    Up to date build environment using Docker

    This is the easiest way to keep your environment up to date in order to build pugs.

    Running the docker-pugs.sh script creates the image and runs it in interactive mode. The image will runs the user's permissions and his home directory is mounted.