From eb825c43bc190be4102e274278f6e8e5ffcdfd64 Mon Sep 17 00:00:00 2001 From: elric97 Date: Thu, 30 Sep 2021 12:57:45 -0400 Subject: [PATCH 1/3] Adds steps for code cov --- .github/workflows/maven.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 71a4ca1..b79c1f1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,3 +29,12 @@ jobs: cache: maven - name: Build with Maven run: mvn -B package --file pom.xml -DskipTests + + - uses: actions/checkout@master + - uses: codecov/codecov-action@v2 + with: + files: ./coverage1.xml,./coverage2.xml # optional + flags: unittests # optional + name: codecov-umbrella # optional + fail_ci_if_error: true # optional (default = false) + verbose: true # optional (default = false) From db65de15db8a2c9536984339fab39c4d9ade4822 Mon Sep 17 00:00:00 2001 From: elric97 Date: Thu, 30 Sep 2021 13:00:54 -0400 Subject: [PATCH 2/3] Fix for code cov --- .github/workflows/maven.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b79c1f1..0d845c0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,9 +32,3 @@ jobs: - uses: actions/checkout@master - uses: codecov/codecov-action@v2 - with: - files: ./coverage1.xml,./coverage2.xml # optional - flags: unittests # optional - name: codecov-umbrella # optional - fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) From b8d8cca6b30e5e2b15fc30929115cc3334cd54a5 Mon Sep 17 00:00:00 2001 From: elric97 Date: Thu, 30 Sep 2021 13:05:06 -0400 Subject: [PATCH 3/3] Fix for code cov --- .github/workflows/maven.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0d845c0..87d7087 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,5 +30,7 @@ jobs: - name: Build with Maven run: mvn -B package --file pom.xml -DskipTests - - uses: actions/checkout@master - - uses: codecov/codecov-action@v2 + - name: Codecov + uses: codecov/codecov-action@v2.1.0 + with: + directory: ./coverage/reports/