#### (experimental) Argo integration testing This small repository contains the minimal code necessary to run integration tests across the argo stack, using various applications. It leverages the argopkgs repo, but overrides some sources in it with their master branch counterparts. see file `default.nix` for details. The file `./integration.sh` is provided as a convenience and should be all that is necessary to run these tests on a nix-enabled machine. The real intended usage is to override (some of) the source(s) with WIP version(s), as part of development or continuous integration. This gitlab CI snippets shows how to do this on a nix-enabled runner: ```{.yml} integration.test: stage: test script: - BUILD=$PWD - git clone https://xgitlab.cels.anl.gov/argo/argotest.git - cd argotest - nix-shell -A test --run "./argotk.hs helloworld" --arg nrm-src ../. artifacts: paths: - argotest/cmd_err.log - argotest/cmd_out.log - argotest/daemon_out.log - argotest/daemon_out.log - argotest/nrm.log - argotest/time.log expire_in: 1 week except: - /^wip\/.*/ - /^WIP\/.*/ tags: - integration ``` Standalone usage: example with the nrm source in `../`. ``` nix-shell -A test --arg nrm-src ../nrm ./integration.hs ```