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