diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2300a51..0f67c3c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,6 +1,6 @@ name: tests -on: [push] +on: [push, pull_request] jobs: build: @@ -29,4 +29,4 @@ jobs: pylint -d 'C0111' solax tests - name: Test with pytest run: | - pytest . + pytest --cov=solax --cov-fail-under=100 --cov-branch --cov-report=term-missing .