Browse Source

gci: Add the JSON report plugin to the ci configuration

master
Christian Decker 4 years ago
committed by Rusty Russell
parent
commit
04df500f8e
  1. 5
      .github/workflows/ci.yaml

5
.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.*

Loading…
Cancel
Save