Commit d2704fed authored by dmanik's avatar dmanik
Browse files

The first snippet now actually looks good. No edges cut off

parent 9e55e24c
Pipeline #98054 passed with stage
in 50 seconds
# specify a docker image # specify a docker image
image: debsankhamanik/ecoptimizer_testenv:latest image: debsankhamanik/ecoptimizer_testenv:latest
# Run necessary steps before pipeline can be run before_script: # Steps before pipeline can be run
before_script: - pip install -e .[dev] # install itself using pip
- python -V # Print out python version for debugging stages: # define two stages
# install itself using pip
- pip install -e .[dev]
# define two stages: unittest and integration_test
stages:
- unittest - unittest
- integration_test - integration_test
# job unittests, belongs to stage unittests unittests:
unittests:
stage: unittest stage: unittest
# here goes the command that is actually run script: # here goes the command that is actually run
script: - python testsuite_runner.py run_unittests
- python ecoptimizer/testing/testsuite_runner.py run_unittests integration_tests:
# job integration tests, belongs to stage integration tests
integration_tests:
stage: integration_test stage: integration_test
# do not run this for commits to non-master branches only: # run this only for master branch
only:
- master - master
script: script:
- python ecoptimizer/testing/testsuite_runner.py run_integration_tests - python testsuite_runner.py run_integration_tests
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
\end{frame} \end{frame}
\begin{frame}[fragile]{How to set this up?} \begin{frame}[fragile]{How to set this up?}
\inputminted{yaml}{snippets/ci-testing.yml} \inputminted{yaml}{snippets/ci-testing.yml}
\end{frame} \end{frame}
......
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