Skip to content

Commit

Permalink
Revert "Remove solver argument from other notebooks"
Browse files Browse the repository at this point in the history
This reverts commit 3af12ec693f6ed3671545bbadb60fbbe94e4e3bc.
  • Loading branch information
k-knosala authored and noah80 committed Feb 2, 2021
1 parent 0e6f8f5 commit 97a1cac
Show file tree
Hide file tree
Showing 22 changed files with 4,975 additions and 2,170 deletions.
37 changes: 28 additions & 9 deletions .gitlab-ci.yml
@@ -1,11 +1,30 @@
conda:
image: continuumio/miniconda3:latest
image: continuumio/miniconda3:latest

before_script:
- conda install mamba -c conda-forge
- mamba env update -n fine --file=requirements.yml
- mamba env update -n fine --file=requirements_dev.yml
- mamba info --envs
- source activate fine
- python -m pip install -e .

test-code:
stage: test
script:
- python -m pytest --cov=FINE test/

test-notebooks:
stage: test
script:
- conda install mamba -c conda-forge
- mamba env update -n fine --file=requirements.yml
- mamba env update -n fine --file=requirements_dev.yml
- mamba info --envs
- source activate fine
- python -m pip install -e .
- python -m pytest --cov=FINE test/
# Run nbval to test all notebooks in examples folder
# and show 20 longest cell executing durations
# With 'nbval-lax', notebooks are only tested for execution errors
# Cells tagged 'nbval-check-output' are checked for consistent output
# Cells tagged 'nbval-skip' are skipped
- python -m pytest --nbval-lax --current-env --durations=20 examples/
# Only test examples notebooks for branches master, develop and 47-test-notebooks
only:
refs:
- master
- develop
- 47-test-notebooks

0 comments on commit 97a1cac

Please sign in to comment.