From 04df500f8e1b71b8f692dcf6dba9702bb236bf95 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 25 Jan 2021 13:37:49 +0100 Subject: [PATCH] gci: Add the JSON report plugin to the ci configuration --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5c213ced5..f3f7c7ff9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -173,6 +173,7 @@ jobs: pytest-sentry \ pytest-test-groups==1.0.3 \ pytest-custom-exit-code==0.3.0 \ + pytest-json-report \ mypy==0.790 git clone https://github.com/lightningnetwork/lightning-rfc.git ../lightning-rfc @@ -186,7 +187,7 @@ jobs: cat << 'EOF' > pytest.ini [pytest] - addopts=-p no:logging --color=yes --timeout=1800 --timeout-method=thread --test-group-random-seed=42 --force-flaky --no-success-flaky-report --max-runs=3 --junitxml=report.xml + addopts=-p no:logging --color=yes --timeout=1800 --timeout-method=thread --test-group-random-seed=42 --force-flaky --no-success-flaky-report --max-runs=3 --junitxml=report.xml --json-report --json-report-file=report.json --json-report-indent=2 markers = slow_test: marks tests as slow (deselect with '-m "not slow_test"') EOF @@ -253,4 +254,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: Junit Report ${{ github.run_number }}.${{ matrix.cfg }} - path: report.xml + path: report.*