From 8b1abce32ba90423be55c6cb8c2a8ac761b366ae Mon Sep 17 00:00:00 2001 From: dkontyko <33853225+dkontyko@users.noreply.github.com> Date: Sun, 11 Feb 2024 20:55:02 -0500 Subject: [PATCH] Add CodeCov action (#67) * adding codecov * updating codecov-action version * switching to v3 to see if results differ --- .github/workflows/maven.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 19e8d5d..d5433f0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,4 +29,9 @@ jobs: cache: maven - name: Build with Maven - run: mvn -B package --file ${{ env.PACKAGE_DIRECTORY }}/pom.xml \ No newline at end of file + run: mvn -B package --file ${{ env.PACKAGE_DIRECTORY }}/pom.xml + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file