From 9bfa09b68505a0ffcf0c28c5870576345512b9f0 Mon Sep 17 00:00:00 2001 From: gpBlockchain <744158715@qq.com> Date: Tue, 27 Jun 2023 23:59:24 +0800 Subject: [PATCH] feat: add helper for test --- .github/workflows/python-app.yml | 9 ++++++++- README.md | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 058cb64..b567ec2 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -32,4 +32,11 @@ jobs: pwd python -m download sh prepare.sh - python -m pytest + python -m pytest --html=report.html + + - name: Publish reports + if: failure() + uses: actions/upload-artifact@v2 + with: + name: jfoa-build-reports-${{ runner.os }} + path: ckb-py-integration-test/report.html diff --git a/README.md b/README.md index 747bd0c..bde8d87 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ download ckb ```shell pip install -r requirements.txt python -m download +sh prepare.sh ``` ### run run single test