diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d09a3703e262914a1fa1c468045221d889aec5ab..a50405ae773eb6cb9c199c40f85c7c29a3be3799 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,11 +43,17 @@ test: - flake8-nb --max-line-length 88 ausarbeitung.ipynb -#run: - #tags: - #- env:docker - #script: +run: + tags: + - env:docker + script: #- pip install -r requirements.txt + - pip install pytest nbmake + - pytest --nbmake ./ + # Test our notebooks, the included example will also result in errors + # if plain errors like imports or typos appear + # Does not replace unit tests + #- python trial_json.py # an alternative approach is to install and run: # - pip install dist/*