.gitlab-ci.yml 1.13 KB
Newer Older
1 2
stages:
  - test
3
  - style
4 5 6 7 8 9

py.test:
  stage: test
  script:
    - pipenv install --dev
    - pipenv run py.test
10 11 12
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
13 14
  tags:
    - rapl
15

16 17 18 19 20 21

flake8:
  stage: style
  script:
    - pipenv install --dev
    - pipenv run flake8
22 23 24
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
25

26
helloworld.integration.test:
27 28
  stage: test
  script:
29
    - nix-shell .integration.nix --run "argotk.hs helloworld"
30 31
  artifacts:
    paths:
32 33 34 35 36
      - _output/cmd_err.log
      - _output/cmd_out.log
      - _output/daemon_out.log
      - _output/daemon_out.log
      - _output/nrm.log
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
      - _output/.argo_nodeos_config_exit_message
    expire_in: 1 week
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
  tags:
    - integration

perfwrapper.integration.test:
  stage: test
  script:
    - nix-shell .integration.nix --run "argotk.hs perfwrapper"
  artifacts:
    paths:
      - _output/cmd_err.log
      - _output/cmd_out.log
      - _output/daemon_out.log
      - _output/daemon_out.log
      - _output/nrm.log
56
      - _output/.argo_nodeos_config_exit_message
57 58 59 60 61 62
    expire_in: 1 week
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
  tags:
    - integration