no coverage :/
This commit is contained in:
parent
936e721fa2
commit
a24cbbf709
2 changed files with 3 additions and 10 deletions
11
.github/workflows/build_lint_test.yaml
vendored
11
.github/workflows/build_lint_test.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue