From 8444b8518c769dfa773aa2b31ebf977e357c7cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akon=20Wiik=20A=CC=8Anes?= Date: Sat, 21 Sep 2024 20:57:01 +0200 Subject: [PATCH] Remember to install coverage packages on CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Håkon Wiik Ånes --- .github/workflows/tests.yml | 6 +++--- doc/dev/running_writing_tests.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6786b44d..aed9acea 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,7 +66,7 @@ jobs: shell: bash run: | pip install wheel - pip install -U -e .'[tests]' + pip install -U -e ".[tests,coverage]" - name: Install oldest supported version if: contains(matrix.LABEL, 'oldest') @@ -77,7 +77,7 @@ jobs: if: ${{ contains(matrix.LABEL, 'minimum_requirement') == false && matrix.os != 'macos-latest' }} shell: bash run: | - pip install -e .'[all]' + pip install -e ".[all]" pip install pyopencl - name: Install optional dependencies on macOS (without nlopt) @@ -85,7 +85,7 @@ jobs: shell: bash run: | pip install -e . - pip install 'pyebsdindex[gpu]' pyvista + pip install "pyebsdindex[gpu]" pyvista - name: Display Python, pip and package versions run: | diff --git a/doc/dev/running_writing_tests.rst b/doc/dev/running_writing_tests.rst index 60082b5a..8f35ba01 100644 --- a/doc/dev/running_writing_tests.rst +++ b/doc/dev/running_writing_tests.rst @@ -7,7 +7,7 @@ Tests are short methods that call functions in kikuchipy and compare resulting o values with known answers. Install necessary dependencies to run the tests:: - pip install --editable .[tests] + pip install -e ".[tests,coverage]" Some useful :doc:`fixtures `, like a dummy EBSD scan and the corresponding background pattern, are available in the ``conftest.py`` file.