Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Swift on Linux doesn't work with default settings #235

Open
Cyberbeni opened this issue Dec 1, 2019 · 2 comments
Open

Swift on Linux doesn't work with default settings #235

Cyberbeni opened this issue Dec 1, 2019 · 2 comments

Comments

@Cyberbeni
Copy link
Contributor

This is my current codecov step during testing on Linux:

llvm-cov export -format="lcov" .build/debug/TypedNotificationCenterPackageTests.xctest -instr-profile .build/debug/codecov/default.profdata > info.lcov
bash <(curl -s https://codecov.io/bash) -J 'TypedNotificationCenter' -n 'Linux' -F 'Linux'

I think the first line should be covered by the default options.
Link to full workflow: https://github.com/Cyberbeni/TypedNotificationCenter/blob/master/.github/workflows/run_tests.yml

@drazisil drazisil added this to To do in Change Tracking Jan 10, 2020
@drazisil
Copy link
Contributor

HI @Cyberbeni

To clarify, you are asking the bash uploader to convert the profdata to lcov for you?

@Cyberbeni
Copy link
Contributor Author

Cyberbeni commented Jan 10, 2020

Yes, just like how the script already handles the default settings output of running Swift tests via Xcode on macOS.

say "${e}==>${x} Processing Xcode reports via llvm-cov"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

2 participants