diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index c0b5082110..25dded26aa 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -42,7 +42,7 @@ jobs: TENSORFLOW_VERSION: ${{ matrix.tf }} DP_BUILD_TESTING: 1 - run: dp --version - - run: pytest --cov=deepmd source/tests --durations=0 + - run: pytest --cov=deepmd --cov=deepmd_cli source/tests --durations=0 - uses: codecov/codecov-action@v3 with: gcov: true diff --git a/codecov.yml b/codecov.yml index 8f639ec037..24dd9e3a23 100644 --- a/codecov.yml +++ b/codecov.yml @@ -20,6 +20,7 @@ component_management: name: Python paths: - deepmd/** + - deepmd_cli/** - component_id: module_op name: OP paths: