Skip to content
Snippets Groups Projects
Commit b9e2ba23 authored by moritz's avatar moritz
Browse files

Moritz Huebner: Trying to make the CI running again

parent a5c17dea
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -23,10 +23,11 @@ exitcode-jessie:
- pip install coverage-badge
# - python setup.py install
# - for test in test/*.py; do coverage run $test; done
- export PYTHONPATH=$CI_CONFIG_PATH/peyote
- coverage run test/parameter_tests.py
- coverage run test/tests.py
- coverage run test/waveform_generator_tests.py
# - export PYTHONPATH=$CI_CONFIG_PATH/peyote
# - coverage run test/parameter_tests.py
# - coverage run test/tests.py
# - coverage run test/waveform_generator_tests.py
- coverage run test_runner.py
- coverage html --peyote/*
- coverage-badge -o coverage.svg
artifacts:
......
......@@ -172,3 +172,6 @@ class TestFixMethod(unittest.TestCase):
self.parameter.value = arbitrary_float
self.parameter.fix()
self.assertIsNone(self.parameter.prior)
if __name__ == '__main__':
unittest.main()
\ No newline at end of file
......@@ -104,4 +104,8 @@ class TestSourceModelSetter(unittest.TestCase):
del self.simulation_parameters
def test_parameters_are_set_correctly(self):
self.assertItemsEqual(self.waveform_generator.parameters, self.simulation_parameters.keys())
\ No newline at end of file
self.assertItemsEqual(self.waveform_generator.parameters, self.simulation_parameters.keys())
if __name__ == '__main__':
unittest.main()
\ No newline at end of file
import peyote
exec(open('test/parameter_tests.py').read())
#exec(open('test/tests.py').read())
exec(open('test/waveform_generator_tests.py').read())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment