Comments (3)
The log file shows something similar to a previous issue that I resolved in this #9 (comment). Basically, your log doesn't show any input, however it appears your coverage-files
input is properly set. I'm wondering if this
github-actions-report-lcov/src/main.js
Line 16 in 49af65b
coverage/lcov.info
doesn't exist. Thoughts?from github-actions-report-lcov.
Hey @zgosalvez
I put some log statements and verified that coverage/lcov.info
exists
Generating LCOV report...
Generated coverage in /home/runner/work/****/*******/packages/bridge_common
.
..
coverage.json
lcov.info
After trying different setting it seems to work now below is my changed workflow
coverage:
name: 💹 Generate coverage report
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 🔧 Setup Dart SDK
uses: dart-lang/[email protected]
- name: 🏗 Install dependencies
run: dart pub get
- name: 📝 Generate Coverage
working-directory: packages/
run: ./coverage.sh bridge_common && ls -a bridge_common && ls -a bridge_common/coverage
- name: 📃 Report Coverage
uses: zgosalvez/[email protected]
with:
coverage-files: "packages/bridge_common/coverage/*.info"
minimum-coverage: 0 # todo: update minimum coverage
artifact-name: common-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
# working-directory: packages/bridge_common/
from github-actions-report-lcov.
Glad you found a solution! 🎉
from github-actions-report-lcov.
Related Issues (20)
- Incompatible with act
- Disable genhtml
- genhtml step fails HOT 2
- Error: Resource not accessible by integration HOT 1
- The action uses the soon deprecated `set-output` command HOT 5
- genhtml: No filename specified HOT 6
- Can you update LCOV to version 2.0?
- Add Link to the uploaded artifact file
- How does changed files work
- Retrieve percentage result as a variable for next steps
- v4.1.3 introduces a bug related to @actions/artifact HOT 7
- Latest version doesn't post complete artifact
- Files changed coverage rate not shown HOT 1
- Update comment in PR with the new results HOT 2
- Add support for macOS HOT 1
- Issue with mixed filename types
- Unable to locate package lcov
- Nodejs12 is deprecated
- Error: Cannot find module 'lcov-total' HOT 6
- genhtml: Unable to locate executable file: genhtml HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-actions-report-lcov.