ci-testing.yml 537 Bytes
Newer Older
1
# specify a docker image
dmanik's avatar
dmanik committed
2
image: debsankhamanik/ecoptimizer_testenv:latest
3
4
5
before_script: # Steps before pipeline can be run
  - pip install -e .[dev] # install itself using pip
stages: # define two stages
dmanik's avatar
dmanik committed
6
7
  - unittest
  - integration_test
8
unittests: 
dmanik's avatar
dmanik committed
9
  stage: unittest
10
11
12
  script: # here goes the command that is actually run
    - python testsuite_runner.py run_unittests
integration_tests: 
dmanik's avatar
dmanik committed
13
  stage: integration_test
14
  only: # run this only for master branch
dmanik's avatar
dmanik committed
15
16
    - master
  script:
17
    - python testsuite_runner.py run_integration_tests