From 00660dce6d909e797d6c4ec9bb82bb5d7663fca1 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Fri, 13 Dec 2019 19:01:26 +0800 Subject: [PATCH] Update unittest.yml fix coveralls --- .github/workflows/unittest.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 3b48a821..0d8a69d1 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -36,15 +36,13 @@ jobs: python -m httprunner.cli hrun -V python -m httprunner.cli hrun -h poetry run coverage run --source=httprunner -m unittest discover - - - name: Coveralls GitHub Action + poetry run coverage report -m - name: Coveralls GitHub Action uses: coverallsapp/github-action@v1.0.1 with: - # github-token: ${{ secrets.GITHUB_TOKEN }} # Path to lcov file - # path-to-lcov: # default is ./coverage/lcov.info + path-to-lcov: .coverage # default is ./coverage/lcov.info # Set to true if you are running parallel jobs, then use "parallel_finished: true" for the last action. parallel: true # optional # Set to true for the last action when using "parallel: true".