Comments (11)
π To the above request. This causing some major issues in various build pipelines.
from slather.
+1
from slather.
@ayanonagon are you able to publish the latest version to rubygems.org?
from slather.
Yes. Learning how to publish Ruby gems right now, but should be up within the hour. π―
from slather.
Done. Let me know if I messed up. π¬
from slather.
@ayanonagon I think there is a problem with the gem on rubygems :(
Some coverage options aren't working anymore, but they work if I build the 1.8.2
tag from source.
Also the output of coverage --help
is different and has a bunch of stuff missing and mislabled`.
$ gem install slather --version 1.8.2
$ slather coverage --help
Usage:
slather coverage [OPTIONS] [xcodeproj]
Parameters:
[xcodeproj] Path to the xcodeproj
Options:
--travis, -t Indicate that the builds are running on Travis CI
--coveralls, -c Post coverage results to coveralls
--simple-output, -s Post coverage results to coveralls
--build-directory, -b BUILD_DIRECTORY The directory where gcno files will be written to. Defaults to derived data.
--source-directory SOURCE_DIRECTORY The directory where your source files are located.
--ignore, -i IGNORE ignore files conforming to a path
-h, --help print help
The output from a locally built slather:
Usage:
slather coverage [OPTIONS] [xcodeproj]
Parameters:
[xcodeproj] Path to the xcodeproj
Options:
--travis, -t Indicate that the builds are running on Travis CI
--circleci Indicate that the builds are running on CircleCI
--jenkins Indicate that the builds are running on Jenkins
--buildkite Indicate that the builds are running on Buildkite
--coveralls, -c Post coverage results to coveralls
--simple-output, -s Output coverage results to the terminal
--gutter-json, -g Output coverage results as Gutter JSON format
--cobertura-xml, -x Output coverage results as Cobertura XML format
--html Output coverage results as static html pages
--show Indicate that the static html pages will open automatically
--build-directory, -b BUILD_DIRECTORY The directory where gcno files will be written to. Defaults to derived data.
--source-directory SOURCE_DIRECTORY The directory where your source files are located.
--output-directory OUTPUT_DIRECTORY The directory where your Cobertura XML report will be written to.
--ignore, -i IGNORE ignore files conforming to a path
-h, --help print help
1.8.2
on RubyGems have been built from different source, right?
I've tested this on two machines.
from slather.
@Ashton-W Yikes, sorry about that! This is what happens when someone who doesnβt know much about Ruby does a release (aka me). πͺ All I did was run rake release
from latest master, which is supposed to # Create tag v1.8.2 and build and push slather-1.8.2.gem to Rubygems
. Please let me know how I can fix this. π Thanks!
from slather.
Not sure what could of gone wrong. All I can think of is your working copy must have had changes?
Try a new clone, checkout v1.8.2
.
Run rake install
, then try out the gem slather coverage --help
, output should be the full one I posted above.
Release again. Not sure if RubyGems will let you release 1.8.2
again, so we might have to release 1.8.3
. For which you will need to update https://github.com/venmo/slather/blob/master/lib/slather/version.rb#L2
from slather.
@ayanonagon Once there is a new working release it seems you can remove the broken gem version by running gem yank GEM -v VERSION
.
See here: http://help.rubygems.org/kb/gemcutter/removing-a-published-rubygem
from slather.
1.8.2 has been yanked and 1.8.3 has been pushed, which should be the right code. Try it out!
from slather.
Looks good, thanks!
from slather.
Related Issues (20)
- The guide for adding code coverage for iOS Swift and upload to Codecov
- Report reads little to no coverage HOT 2
- Ruby 3.2.0 issue
- Duplicates
- build-for-testing and CI/CD HOT 2
- Coveralls fail on coverage drop threshold hit on Github
- Slather not support XCUITest.
- slather dont generate all the coverage HOT 2
- [Feature request] Host Logo(image), CSS and JS in a CDN (or just here on github) HOT 1
- Update Nokogiri to version >= 1.14.3
- Coverage.profdata not found - Xcode 14.3 - Xcode 15.0 HOT 11
- Slather empty result on Jenkins CI HOT 2
- Include files (opposite of ignore) HOT 3
- Failing to load coverage HOT 4
- Support for path equivalence/relocation.
- Clean checkout of master has many test failures. HOT 2
- New version number HOT 3
- Is this project still maintained? HOT 2
- Error when installing gem slather HOT 4
- Unable to get code coverage to sonarcloud
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 slather.