Skip to content

Commit

Permalink
Remember to install coverage packages on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Håkon Wiik Ånes <[email protected]>
  • Loading branch information
hakonanes committed Sep 21, 2024
1 parent d5d3285 commit 8444b85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -77,15 +77,15 @@ 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)
if: ${{ contains(matrix.LABEL, 'minimum_requirement') == false && matrix.os == 'macos-latest' }}
shell: bash
run: |
pip install -e .
pip install 'pyebsdindex[gpu]' pyvista
pip install "pyebsdindex[gpu]" pyvista
- name: Display Python, pip and package versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion doc/dev/running_writing_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <pytest:explanation/fixtures>`, like a dummy EBSD scan and the
corresponding background pattern, are available in the ``conftest.py`` file.
Expand Down

0 comments on commit 8444b85

Please sign in to comment.