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.