Quellcode durchsuchen

Fix test coverage reporting (#229)

J. Nick Koston vor 4 Monaten
Ursprung
Commit
53d55a1f74
2 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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