Fix cobertura bug #285
This file contains 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: CI | |
env: | |
NODE_VERSION: 14.17.3 | |
MASTER_SHA: '' | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
custom_test: | |
runs-on: ubuntu-latest | |
name: We test it locally with act | |
steps: | |
- uses: actions/checkout@v2 | |
- name: jest coverage reporter | |
uses: ./ # Uses an action in the root directory | |
id: coverage-reporter | |
with: | |
branch-coverage-report-path: ./coverage/coverage-summary.json | |
base-coverage-report-path: ./coverage/coverage-summary-master.json | |
useSameComment: true | |
- name: cobertura coverage reporter | |
uses: ./ # Uses an action in the root directory | |
id: cobertura-coverage-reporter | |
with: | |
branch-coverage-report-path: ./coverage/cobertura.xml | |
base-coverage-report-path: ./coverage/cobertura-master.xml | |
useSameComment: true | |
coverageType: cobertura | |
only-check-changed-files: false | |
prefix-filename-url: 'https://tubi-web-assets-staging.s3.us-east-2.amazonaws.com/larnaca-coverage-artifacts' |