Ci tests
This merge request includes the first version of the testpackage included within this repository. This is a package that is not built by default and thus induces no overhead in the normal build process, but can be built individually with StatAnalysis as parent project.
The testpackage currently includes a test for ROOT as an example, but ideally each of the included softwares should be tested in this package. The readme and included ROOT test should provide a clear enough example to allow developers of other softwares included in this package to built a similar test for their software.
See the added readme for more info.
Also have a look at the CI output for the "test" stage.
Please do not hesitate to include comments or suggestions for doing things differently.
Merge request reports
Activity
requested review from @will
64 stage: test 65 tags: 66 - docker 67 - statanalysis 68 dependencies: 69 - build 70 script: 71 - sudo yum install binutils \ 72 libX11-devel libXpm-devel libXft-devel libXext-devel python openssl-devel \ 73 mesa-libGL-devel mesa-libGLU-devel glew-devel ftgl-devel -y 74 - sudo rpm -i --replacepkgs --prefix="$(pwd)" ci_build/*.rpm # Install statanalysis in current directory 75 - source StatAnalysis/0.0.1/InstallArea/x86_64-centos7-gcc8-opt/setup.sh # Source statanalysis 76 - mkdir TestProject/build 77 - cd TestProject/build 78 - cmake .. -Dbuild_test=true # Build testproject 79 - make Hi @will, is there currently anything still blocking this from being merged into master?
ah can you rebase ... squash locally
Edited by Will Buttingeradded 24 commits
-
77bb5d5b...04f44822 - 7 commits from branch
master
- df7c8e85 - Initial setup for deployment in .gitlab-ci.yml
- e5fc52f9 - Started on making ci-tests
- 864a9b0e - Added testpackage and gitlab-ci config
- 2f88bcdd - gitlab-ci.yml small fix
- 1911d2e9 - Require explicit variable to build testproject
- 09bf07ef - temp fix for yum atlas mirror issue
- 41c5bc34 - temp fix for yum atlas mirror issue
- c2f1f740 - temp fix for yum atlas mirror issue
- 8544ef57 - Require explicit variable to build testpackage and remove temp fix
- db15ec8d - Testing ci-tests
- f586123b - temp fix for yum atlas mirror issue
- 0b39aacd - temp fix for yum atlas mirror issue
- 8a8170a6 - temp fix for yum atlas mirror issue
- 1c97cfff - Require explicit variable to build testpackage and remove temp fix
- 233af6b6 - Updated gitlab-ci.yml with right path to test
- ac6022a9 - Update to CI
- cadf8891 - Merge branch 'ci-tests' of https://gitlab.cern.ch/atlas/StatAnalysis into ci-tests
Toggle commit list-
77bb5d5b...04f44822 - 7 commits from branch
enabled an automatic merge when the pipeline for cadf8891 succeeds
enabled an automatic merge when the pipeline for cadf8891 succeeds
mentioned in commit 6bbf251c