Skip to content
Permalink
Browse files
Test GH actions workflow for Codecov coverage
  • Loading branch information
aherbert committed Feb 13, 2022
1 parent 5f30d93 commit b228aea7f7494a42e60382004ba6cd381941bc4e
Showing 1 changed file with 5 additions and 5 deletions.
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Coveralls
name: Coverage

on: [push, pull_request]

@@ -39,9 +39,9 @@ jobs:
distribution: adopt
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -V test --file pom.xml --no-transfer-progress
run: mvn -V test jacoco:report --file pom.xml --no-transfer-progress

- name: Coveralls
uses: coverallsapp/github-action@1.1.3
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: ./target/site/jacoco/jacoco.xml

0 comments on commit b228aea

Please sign in to comment.