Skip to content

Commit

Permalink
Remove LCOV (#45)
Browse files Browse the repository at this point in the history
* Remove lcov

* Run prepare

* Update index.js.map
  • Loading branch information
zgosalvez authored Dec 30, 2022
1 parent 3da0a76 commit c5669ea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
# ... Generate LCOV files or download it from a different job
- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@v1
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v2
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: coverage/lcov.*.info
minimum-coverage: 90
Expand Down
2 changes: 0 additions & 2 deletions dist/main/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ const events = ['pull_request', 'pull_request_target'];

async function run() {
try {
await exec.exec('sudo apt-get install -y lcov');

const tmpPath = path.resolve(os.tmpdir(), github.context.action);
const coverageFilesPattern = core.getInput('coverage-files');
const globber = await glob.create(coverageFilesPattern);
Expand Down

0 comments on commit c5669ea

Please sign in to comment.