diff --git a/.github/workflows/PRs.yml b/.github/workflows/PRs.yml index ff158f96..1441c810 100644 --- a/.github/workflows/PRs.yml +++ b/.github/workflows/PRs.yml @@ -32,9 +32,11 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: install texlive for Pandoc + run: sudo apt update && sudo apt install -y texlive - name: Test with pytest run: | - pip install pytest pytest-cov sphinx numpydoc sphinx-rtd-theme sphinx_gallery nbsphinx + pip install pytest pytest-cov sphinx numpydoc sphinx-rtd-theme sphinx_gallery nbsphinx pandoc pytest --cov=./ --cov-report=xml make doctest - name: Upload coverage to Codecov diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 454c1e07..9529d983 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,9 +32,11 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: install texlive for Pandoc + run: sudo apt update && sudo apt install -y texlive - name: Test with pytest run: | - pip install pytest pytest-cov sphinx numpydoc sphinx-rtd-theme sphinx_gallery nbsphinx + pip install pytest pytest-cov sphinx numpydoc sphinx-rtd-theme sphinx_gallery nbsphinx pandoc pytest --cov=./ --cov-report=xml make doctest - name: Upload coverage to Codecov