Comments (4)
It's still not clear how multiple flags will get associated with multiple reports. E.g.:
- name: Code coverage (via codecov.io)
if: matrix.api-level == 29 # Only upload coverage from API 29
uses: codecov/codecov-action@v2
with:
files: engine/build/reports/coverage/debug/report.xml, datacapture/build/reports/coverage/debug/report.xml, datacapturegallery/build/reports/coverage/debug/report.xml
flags: engine, datacapture, datacapturegallery
fail_ci_if_error: true
verbose: true
Generates the following:
/Users/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n -Q github-action-2.1.0 -Z -f engine/build/reports/coverage/debug/report.xml -f datacapture/build/reports/coverage/debug/report.xml -f datacapturegallery/build/reports/coverage/debug/report.xml -F engine -F datacapture -F datacapturegallery -C <redacted> -v
I don't think this is correct.
There should be a way to configure a monorepo with multiple projects / modules, one for each flag.
from codecov-action.
Line 15 in 66879ff
from codecov-action.
Good point! I've added instructions for how to specify multiple flags in this commit
from codecov-action.
To clarify, I have the coverage reports generated for each module in a single step. There should be a way to pick each report and associate with a flag each.
Currently is seems it is only possible via hacks like this: https://stackoverflow.com/questions/66561281/optimal-usage-of-codecov-in-a-monorepo-context-with-separate-flags-for-each-pack
from codecov-action.
Related Issues (20)
- What does "full functionality" mean? HOT 1
- v4 keeps reporting HTTP Error 504 upstream request timeout very often HOT 1
- main Workflow is cruel to forks
- How can I turn off plugins? HOT 4
- I ended up using
- v4 cannot upload luacov report HOT 2
- osv-scanner: general issues HOT 3
- The following uploads failed to process HOT 1
- codecov.exe missing on Windows (randomly) HOT 4
- IsADirectoryError with v4.3.1
- Codecov action fails HOT 10
- Container builds are actually failing
- Can v4 still securely work with pull requests? HOT 12
- v4 fails if a broken symlink is present in the repo
- scorecard analysis fails on forks with a different default branch
- codecov tries to fetch oidc token also on PR from fork
- Add support for send-notifications in codecov-action
- Codecov token not found on v4.4.1 HOT 5
- Upload fails on a `macos-14` runner HOT 1
- Upload fails on a `macos-12` runner HOT 5
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 codecov-action.