From 78cdc0b450d6c65908b370b8d513a8093c19d954 Mon Sep 17 00:00:00 2001 From: ShammiL Date: Thu, 19 Sep 2024 13:52:36 +0530 Subject: [PATCH] Move codecov generation to push build --- .github/workflows/pull_request_ubuntu_build.yml | 5 ----- .github/workflows/push_ubuntu_build.yml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull_request_ubuntu_build.yml b/.github/workflows/pull_request_ubuntu_build.yml index b206c62fd..1b101bee8 100644 --- a/.github/workflows/pull_request_ubuntu_build.yml +++ b/.github/workflows/pull_request_ubuntu_build.yml @@ -19,8 +19,3 @@ jobs: cache: maven - name: Build with Maven run: mvn clean install - - name: Upload test coverage to Codecov - uses: codecov/codecov-action@v4.0.1 - with: - flags: unit_tests - token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/push_ubuntu_build.yml b/.github/workflows/push_ubuntu_build.yml index 79ff3234b..50faed697 100644 --- a/.github/workflows/push_ubuntu_build.yml +++ b/.github/workflows/push_ubuntu_build.yml @@ -19,3 +19,8 @@ jobs: cache: maven - name: Build with Maven run: mvn clean install + - name: Upload test coverage to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + flags: unit_tests + token: ${{ secrets.CODECOV_TOKEN }}