You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by tu...@apache.org on 2020/12/13 12:45:07 UTC
[kibble] branch main updated: Show colored output for Pytest & Show
diff on pre-commits (#116)
This is an automated email from the ASF dual-hosted git repository.
turbaszek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kibble.git
The following commit(s) were added to refs/heads/main by this push:
new ea59ae0 Show colored output for Pytest & Show diff on pre-commits (#116)
ea59ae0 is described below
commit ea59ae0c18596566d037397fd733d18060b5f3f8
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sun Dec 13 12:44:59 2020 +0000
Show colored output for Pytest & Show diff on pre-commits (#116)
---
.github/workflows/ci.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 602c41e..8ed3163 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -28,6 +28,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v1.0.1
+ with:
+ extra_args: --show-diff-on-failure
build-docker:
name: Build kibble dev image
runs-on: ubuntu-latest
@@ -48,4 +50,4 @@ jobs:
with:
python-version: '3.8'
- run: pip install '.[devel]'
- - run: pytest tests
+ - run: pytest tests --color=yes