Skip to content

Merge pull request #423 from NipunaMadhushan/add-codecov #7

Merge pull request #423 from NipunaMadhushan/add-codecov

Merge pull request #423 from NipunaMadhushan/add-codecov #7

name: CI - Push request - Ubuntu
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install
- name: Upload test coverage to Codecov
uses: codecov/[email protected]
with:
flags: unit_tests
token: ${{ secrets.CODECOV_TOKEN }}