|
@@ -27,4 +27,6 @@ jobs:
|
|
- name: Tests
|
|
- name: Tests
|
|
run: pytest --cov=switchbot --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
|
|
- name: Upload coverage to Codecov
|
|
- uses: codecov/codecov-action@v3
|
|
|
|
|
|
+ uses: codecov/codecov-action@v5.0.2
|
|
|
|
+ with:
|
|
|
|
+ token: ${{ secrets.CODECOV_TOKEN }} # required
|