no coverage :/

This commit is contained in:
jbannon 2022-04-29 08:01:47 +00:00
parent 936e721fa2
commit a24cbbf709
2 changed files with 3 additions and 10 deletions

View file

@ -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

View file

@ -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