Fix CI failing (#3957)
* Fix CI failing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docs: update CHANGES.md * docs: fix changelog location to unreleased --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
c0adca321d
commit
8de4be5168
@ -46,6 +46,8 @@
|
|||||||
- The summary output for GitHub workflows is now suppressible using the `summary`
|
- The summary output for GitHub workflows is now suppressible using the `summary`
|
||||||
parameter. (#3958)
|
parameter. (#3958)
|
||||||
|
|
||||||
|
- Fix the action failing when Black check doesn't pass (#3957)
|
||||||
|
|
||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
<!-- Major changes to documentation and policies. Small docs changes
|
<!-- Major changes to documentation and policies. Small docs changes
|
||||||
|
@ -39,6 +39,9 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: black
|
- name: black
|
||||||
run: |
|
run: |
|
||||||
|
# Even when black fails, do not close the shell
|
||||||
|
set +e
|
||||||
|
|
||||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||||
runner="python"
|
runner="python"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user