codecov-action:GitHub动作将覆盖范围上传到Codecov

时间:2021-05-12 00:29:42
【文件属性】:
文件名称:codecov-action:GitHub动作将覆盖范围上传到Codecov
文件大小:162KB
文件格式:ZIP
更新时间:2021-05-12 00:29:42
github actions codecov code-coverage Shell Codecov GitHub动作 从GitHub Actions轻松将覆盖率报告上传到Codecov 此Action的最新版本增加了对从GitHub Actions进行无令牌上传的支持! 用法 要将Codecov与Actions管道集成在一起,请在workflow.yml .yml文件中的一个step ,为该存储库的名称指定标签号(建议使用@v1 )。 如果您有私有存储库,则此操作还需要您从 (提示:为了避免暴露您的令牌,请将其存储为secret )。 (可选)您可以选择包括最多四个其他输入以自定义上传上下文。 对于公共存储库,不需要令牌 在您的.github/workflows/workflow.yml文件中: steps : - uses : actions/checkout@master - uses : codecov/codecov-action@v1 with :
【文件预览】:
codecov-action-master
----hooks()
--------pre-commit(133B)
----package.json(1KB)
----.eslintrc.json(312B)
----.github()
--------dependabot.yml(125B)
--------workflows()
----jest.config.js(69B)
----action.yml(4KB)
----LICENSE(1KB)
----package-lock.json(265KB)
----dist()
--------index.js(246KB)
--------codecov(55KB)
----CONTRIBUTING.md(1KB)
----install.sh(194B)
----src()
--------buildExec.test.ts(3KB)
--------buildExec.ts(5KB)
--------codecov(55KB)
--------index.ts(1KB)
----tsconfig.json(33B)
----.gitignore(1KB)
----CHANGELOG.md(2KB)
----Makefile(189B)
----demo()
--------coverage-test()
--------calculator()
----README.md(7KB)

网友评论