GitLab maintenance scheduled for Today, 2019-04-24, from 12:00 to 13:00 CDT - Services will be unavailable during this time.

Commit 39a4fa3a authored by Valentin Reis's avatar Valentin Reis

[ci] Added argotest-based integration tests

This commits adds a gitlab-ci integration test target, and the
.integration.nix file, which specifies the exact test version pinning to
use. The gitlab-ci file is also renamed to its proper name, and the
non-passing, previously disabled "make:generic" test is commented out.
For the record, this 'build' test is strictly contained in the integration
tests.
parent 0ad903f4
Pipeline #4698 passed with stage
in 6 seconds
......@@ -24,3 +24,4 @@ m4/install-sh
m4/ltmain.sh
m4/missing
src/config.h.in
_output
stages:
- build
make:generic:
stage: build
script:
- ./autogen.sh
- mkdir build
- ./configure --prefix=`pwd`/build
- make
- make install
artifacts:
paths:
- tests/*.log
except:
- /^wip.*/
- /^WIP.*/
stages:
- test
#- build
#make:generic:
#stage: build
#script:
#- ./autogen.sh
#- mkdir build
#- ./configure --prefix=`pwd`/build
#- make
#- make install
#artifacts:
#paths:
#- tests/*.log
#except:
#- /^wip.*/
#- /^WIP.*/
integration.test:
stage: test
script:
- nix-shell .integration.nix --run "argotk.hs helloworld"
artifacts:
paths:
- _output/cmd_err.log
- _output/cmd_out.log
- _output/daemon_out.log
- _output/daemon_out.log
- _output/nrm.log
- _output/time.log
- _output/.argo_nodeos_config_exit_message
expire_in: 1 week
except:
- /^wip\/.*/
- /^WIP\/.*/
tags:
- integration
{ argotest ? (builtins.fetchGit {
url = https://xgitlab.cels.anl.gov/argo/argotest.git;
ref="refactor-argotk";
rev="e96e94a17a8046d0f7c8b2908dcb5fb25ead7b96"; })
}:
(import argotest {
libnrm-src = ./.;
}).test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment