From 0f5b0ca501a0ab701a9caa71571f64ffa932bc2f Mon Sep 17 00:00:00 2001 From: Michael Beemer Date: Thu, 11 Jul 2024 15:51:37 -0500 Subject: [PATCH] ci: restrict codecov to a single python version (#93) Signed-off-by: Michael Beemer --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 165018d..9955309 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,8 +49,9 @@ jobs: run: hatch run cov working-directory: ${{ matrix.package }} - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4.3.0 + - if: matrix.python-version == '3.11' + name: Upload coverage to Codecov + uses: codecov/codecov-action@v4.5.0 with: name: Code Coverage for ${{ matrix.package }} on Python ${{ matrix.python-version }} directory: ${{ matrix.package }}