Skip to content
Snippets Groups Projects
Commit c1ae539a authored by Manuel Marschall's avatar Manuel Marschall
Browse files

fixed Code to code in gitlab ci

parent 45c9d82c
No related branches found
No related tags found
No related merge requests found
Pipeline #3762 failed
...@@ -16,7 +16,7 @@ mypy: ...@@ -16,7 +16,7 @@ mypy:
script: script:
- python --version - python --version
- pip install -r requirements.txt - pip install -r requirements.txt
- cd Code - cd code
- apt-get update -qq && apt-get install -y -qq pandoc - apt-get update -qq && apt-get install -y -qq pandoc
- python3 -m pip install --upgrade mypy - python3 -m pip install --upgrade mypy
- python3 -m pip install types-mock - python3 -m pip install types-mock
...@@ -28,7 +28,7 @@ flake8: ...@@ -28,7 +28,7 @@ flake8:
script: script:
- python --version - python --version
- pip install -r requirements.txt - pip install -r requirements.txt
- cd Code - cd code
- apt-get update -qq && apt-get install -y -qq pandoc - apt-get update -qq && apt-get install -y -qq pandoc
- python3 -m pip install --upgrade flake8 - python3 -m pip install --upgrade flake8
- flake8 --max-line-length=120 *.py - flake8 --max-line-length=120 *.py
...@@ -41,7 +41,7 @@ pylint: ...@@ -41,7 +41,7 @@ pylint:
- pip install -r requirements.txt - pip install -r requirements.txt
- apt-get update -qq && apt-get install -y -qq pandoc - apt-get update -qq && apt-get install -y -qq pandoc
- python3 -m pip install --upgrade pylint - python3 -m pip install --upgrade pylint
- pylint -d C0301 -d R0801 Code/*.py - pylint -d C0301 -d R0801 code/*.py
# unit_test: # unit_test:
# stage: Test # stage: Test
...@@ -112,7 +112,7 @@ compile_pdf: ...@@ -112,7 +112,7 @@ compile_pdf:
- mpm --update-db --admin - mpm --update-db --admin
- python3 -m pip install -U sphinx nbsphinx nbsphinx-link m2r2 sphinx-rtd-theme pandoc ipython mock numpy scipy matplotlib - python3 -m pip install -U sphinx nbsphinx nbsphinx-link m2r2 sphinx-rtd-theme pandoc ipython mock numpy scipy matplotlib
- python3 -m pip install -r requirements.txt - python3 -m pip install -r requirements.txt
- cd Code - cd code
- mkdir documentation - mkdir documentation
- cd docs - cd docs
- make html - make html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment