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