Merge pull request #4460 from KalinduGandara/update-synapse #780
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 11 | |
| uses: actions/setup-java@v1 | |
| with: | |
| distribution: 'adopt' | |
| java-version: 11 | |
| - name: Build micro integrator with Maven | |
| continue-on-error: true | |
| run: mvn -B clean install --file pom.xml -fae | |
| - name: Upload unit test coverage to Codecov | |
| continue-on-error: true | |
| uses: codecov/[email protected] | |
| with: | |
| flags: mi_unit_tests,unit_tests | |
| directory: components/ | |
| - name: Upload integration test coverage to Codecov | |
| continue-on-error: true | |
| uses: codecov/[email protected] | |
| with: | |
| flags: integration_tests | |
| directory: integration/ |