aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2024-06-04 17:26:00 +0200
committerJ08nY2024-06-04 17:26:42 +0200
commitabc889d4fd8f5c104f3367a788e3c766138b25fd (patch)
tree0ca72b8a0e3c9f737e540da5844c352a144da8e4
parent618deff9313f1b4ee91d8fe028d7103bfe95144b (diff)
downloadpyecsca-abc889d4fd8f5c104f3367a788e3c766138b25fd.tar.gz
pyecsca-abc889d4fd8f5c104f3367a788e3c766138b25fd.tar.zst
pyecsca-abc889d4fd8f5c104f3367a788e3c766138b25fd.zip
-rw-r--r--.github/workflows/test.yml3
-rw-r--r--Makefile3
m---------notebook0
-rw-r--r--pyproject.toml3
4 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2e01659..8a31b88 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -55,6 +55,9 @@ jobs:
- name: Test
run: |
make test
+ - name: Test notebooks
+ run: |
+ make test-notebooks
- name: Code coverage
uses: codecov/codecov-action@v4
if: ${{ matrix.python-version == 3.9 }}
diff --git a/Makefile b/Makefile
index 188c3bc..a7290ee 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,9 @@ test-plots:
test-all:
pytest --cov=pyecsca
+test-notebooks:
+ pytest -m "not slow" --nbmake --cov=pyecsca notebook/simulation.ipynb notebook/visualization.ipynb
+
typecheck:
mypy --namespace-packages -p pyecsca --ignore-missing-imports --show-error-codes --check-untyped-defs
diff --git a/notebook b/notebook
-Subproject 5ec7ce7c9c26f21217b024e1321469f9ee97688
+Subproject 4f04530c9136c50523974cf1b8e6e333e6a5982
diff --git a/pyproject.toml b/pyproject.toml
index d8abb66..1972bfa 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,6 +41,7 @@
"holoviews",
"bokeh",
"matplotlib",
+ "seaborn",
"datashader",
"dask[dataframe]",
"xarray",
@@ -66,7 +67,7 @@
"gmp" = ["gmpy2"]
"pari" = ["cysignals", "cypari2"]
"dev" = ["mypy", "flake8", "interrogate", "pyinstrument", "black", "types-setuptools", "pydocstyle"]
- "test" = ["pytest>=7.0.0", "coverage", "pytest-cov", "pytest-sugar", "pytest-mock"]
+ "test" = ["pytest>=7.0.0", "coverage", "pytest-cov", "pytest-sugar", "pytest-mock", "nbmake"]
"doc" = ["sphinx", "sphinx-autodoc-typehints", "nbsphinx", "sphinx-paramlinks", "sphinx_design", "alabaster>=0.7.16"]
[tool.setuptools.packages.find]