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 }}