Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
- name: Make sure CLI works
run: |
numpydoc render numpydoc.tests.test_main._capture_stdout
echo '! numpydoc render numpydoc.tests.test_main._invalid_docstring' | bash
! numpydoc render numpydoc.tests.test_main._invalid_docstring
numpydoc validate numpydoc.tests.test_main._capture_stdout
echo '! numpydoc validate numpydoc.tests.test_main._docstring_with_errors' | bash
numpydoc validate numpydoc.tests.test_main._docstring_with_errors || true

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why || true here instead of the prefixed-! pattern above?


- name: Setup for doc build
run: |
Expand Down Expand Up @@ -93,9 +93,9 @@ jobs:
if: runner.os == 'Linux'
run: |
numpydoc render numpydoc.tests.test_main._capture_stdout
echo '! numpydoc render numpydoc.tests.test_main._invalid_docstring' | bash
numpydoc render numpydoc.tests.test_main._invalid_docstring || true
numpydoc validate numpydoc.tests.test_main._capture_stdout
echo '! numpydoc validate numpydoc.tests.test_main._docstring_with_errors' | bash
numpydoc validate numpydoc.tests.test_main._docstring_with_errors || true

- name: Setup for doc build
if: runner.os == 'Linux'
Expand Down Expand Up @@ -140,9 +140,9 @@ jobs:
- name: Make sure CLI works
run: |
numpydoc render numpydoc.tests.test_main._capture_stdout
echo '! numpydoc render numpydoc.tests.test_main._invalid_docstring' | bash
numpydoc render numpydoc.tests.test_main._invalid_docstring || true
numpydoc validate numpydoc.tests.test_main._capture_stdout
echo '! numpydoc validate numpydoc.tests.test_main._docstring_with_errors' | bash
numpydoc validate numpydoc.tests.test_main._docstring_with_errors || true

- name: Setup for doc build
run: |
Expand Down