From c3bb099f9dfa461585ab2df237a421de354e8263 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:03:04 +0000 Subject: [PATCH 1/2] build(deps): bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test_cc.yml | 2 +- .github/workflows/test_cuda.yml | 2 +- .github/workflows/test_python.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_cc.yml b/.github/workflows/test_cc.yml index 2253a25ee0..f5384091af 100644 --- a/.github/workflows/test_cc.yml +++ b/.github/workflows/test_cc.yml @@ -61,7 +61,7 @@ jobs: PATH: ${{ github.workspace }}/dp_test/bin:$PATH LD_LIBRARY_PATH: ${{ github.workspace }}/dp_test/lib if: ${{ !matrix.check_memleak }} - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: gcov: true pass: diff --git a/.github/workflows/test_cuda.yml b/.github/workflows/test_cuda.yml index 4e9725103a..785553d046 100644 --- a/.github/workflows/test_cuda.yml +++ b/.github/workflows/test_cuda.yml @@ -66,6 +66,6 @@ jobs: TF_INTER_OP_PARALLELISM_THREADS: 1 LAMMPS_PLUGIN_PATH: ${{ github.workspace }}/dp_test/lib/deepmd_lmp CUDA_PATH: /usr/local/cuda-12.2 - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: gcov: true diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 091a2a61f8..db854fe77d 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -42,7 +42,7 @@ jobs: - run: pytest --cov=deepmd source/tests --durations=0 env: NUM_WORKERS: 0 - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: gcov: true pass: From 49b16edf390cdc47f29535c8d3be34121d6a26c7 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 5 Feb 2024 15:02:08 -0500 Subject: [PATCH 2/2] setup token --- .github/workflows/test_cc.yml | 4 ++-- .github/workflows/test_cuda.yml | 4 ++-- .github/workflows/test_python.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_cc.yml b/.github/workflows/test_cc.yml index f5384091af..f2af6f45ae 100644 --- a/.github/workflows/test_cc.yml +++ b/.github/workflows/test_cc.yml @@ -62,8 +62,8 @@ jobs: LD_LIBRARY_PATH: ${{ github.workspace }}/dp_test/lib if: ${{ !matrix.check_memleak }} - uses: codecov/codecov-action@v4 - with: - gcov: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} pass: name: Pass testing C++ needs: [testcc] diff --git a/.github/workflows/test_cuda.yml b/.github/workflows/test_cuda.yml index 785553d046..7c08e50912 100644 --- a/.github/workflows/test_cuda.yml +++ b/.github/workflows/test_cuda.yml @@ -67,5 +67,5 @@ jobs: LAMMPS_PLUGIN_PATH: ${{ github.workspace }}/dp_test/lib/deepmd_lmp CUDA_PATH: /usr/local/cuda-12.2 - uses: codecov/codecov-action@v4 - with: - gcov: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index db854fe77d..e1ac3a716c 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -43,8 +43,8 @@ jobs: env: NUM_WORKERS: 0 - uses: codecov/codecov-action@v4 - with: - gcov: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} pass: name: Pass testing Python needs: [testpython]