Browse Source

Fix test coverage reporting (#229)

J. Nick Koston 3 months ago
parent
commit
53d55a1f74
2 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/ci.yaml
  2. 0 0
      tests/__init__.py

+ 1 - 1
.github/workflows/ci.yaml

@@ -24,6 +24,6 @@ jobs:
         python -m pip install --upgrade pip
         pip install -r requirements_dev.txt .
     - name: Tests
-      run: pytest --cov --cov-report=term-missing --cov-report=xml tests
+      run: pytest --cov=switchbot --cov-report=term-missing --cov-report=xml tests
     - name: Upload coverage to Codecov
       uses: codecov/codecov-action@v3

+ 0 - 0
tests/__init__.py