Skip to content

[WSO2 Release] [Jenkins #3862] [Release 4.7.222] prepare for next dev… #325

[WSO2 Release] [Jenkins #3862] [Release 4.7.222] prepare for next dev…

[WSO2 Release] [Jenkins #3862] [Release 4.7.222] prepare for next dev… #325

Workflow file for this run

name: CodeCov Coverage Uploader
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build Carbon Mediation with Maven
continue-on-error: true
run: mvn clean install --file pom.xml
- name: Get carbon-mediation version
run: mvn help:evaluate -Dexpression=project.version -q -DforceStdout > ../CARBON_MEDIATION_VERSION_FILE
- name: Print carbon-mediation version
run: |
echo $(cat ../CARBON_MEDIATION_VERSION_FILE)
- name: Checkout Micro Integrator
uses: actions/checkout@v1
with:
repository: wso2/micro-integrator
ref: refs/heads/master
- name: Build micro-integrator with Maven
continue-on-error: true
run: mvn clean install -Dcarbon.mediation.version=$(cat ../CARBON_MEDIATION_VERSION_FILE) -fae --file ../micro-integrator/pom.xml
- name: Upload unit test coverage of carbon.mediation to Codecov
continue-on-error: true
uses: codecov/[email protected]
with:
flags: mediation_unit_tests,unit_tests
- name: Upload unit test coverage of micro.integrator to Codecov
continue-on-error: true
uses: codecov/[email protected]
with:
flags: mi_unit_tests,unit_tests
directory: ../micro-integrator/components/
- name: Upload integration test coverage of micro.integrator to Codecov
continue-on-error: true
uses: codecov/[email protected]
with:
flags: integration_tests
directory: ../micro-integrator/integration/