Jelajahi Sumber

Fix test coverage reporting (#229)

J. Nick Koston 11 bulan lalu
induk
melakukan
53d55a1f74
2 mengubah file dengan 1 tambahan dan 1 penghapusan
  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