From a24cbbf7098d9c5360a4028ae945fd7b8cfb32ad Mon Sep 17 00:00:00 2001 From: jbannon Date: Fri, 29 Apr 2022 08:01:47 +0000 Subject: [PATCH] no coverage :/ --- .github/workflows/build_lint_test.yaml | 11 +++-------- tools/test | 2 -- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_lint_test.yaml b/.github/workflows/build_lint_test.yaml index 8e1e0f0f..d0b06021 100644 --- a/.github/workflows/build_lint_test.yaml +++ b/.github/workflows/build_lint_test.yaml @@ -1,4 +1,4 @@ -name: ytld-sub build +name: ytld-sub build, lint, test on: [push] @@ -22,12 +22,7 @@ jobs: run: | pip install .[lint] ./tools/linter check - - name: Run tests + - name: Run tests with coverage run: | pip install .[test] - ./tools/test lcov - - name: Report coverage - uses: vebr/jest-lcov-reporter@v0.2.0 - with: - lcov-file: coverage.lcov - github-token: ${{ secrets.GITHUB_TOKEN }} + ./tools/test diff --git a/tools/test b/tools/test index 0d71657b..71b26e1b 100755 --- a/tools/test +++ b/tools/test @@ -2,8 +2,6 @@ if [ $1 = "html" ]; then coverage run -m pytest && coverage html -elif [ $1 = "lcov" ]; then - coverage run -m pytest && coverage lcov else coverage run -m pytest && coverage report fi