mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-20 13:54:36 +01:00
gci: Add the JSON report plugin to the ci configuration
This commit is contained in:
parent
ea67710e01
commit
04df500f8e
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
|
@ -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…
Add table
Reference in a new issue