Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added simplecov #22

Merged
merged 3 commits into from
Apr 28, 2020
Merged

Added simplecov #22

merged 3 commits into from
Apr 28, 2020

Conversation

amihaiemil
Copy link
Member

PR for #10
Added simplecov for test coverage measurement.
Next step: figure out how to display a badge with percentage in the README.

@amihaiemil
Copy link
Member Author

@rultor merge it please

@rultor
Copy link
Collaborator

rultor commented Apr 28, 2020

@rultor merge it please

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Apr 28, 2020

@rultor merge it please

@amihaiemil Oops, I failed. You can see the full log here (spent 2min)

WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
mesg: cannot open /dev/pts/0: Permission denied
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export head=git@github.com:ruby-ee/ruby-stream-api.git
+ head=git@github.com:ruby-ee/ruby-stream-api.git
+ export pull_id=22
+ pull_id=22
+ export fork=git@github.com:ruby-ee/ruby-stream-api.git
+ fork=git@github.com:ruby-ee/ruby-stream-api.git
+ export fork_branch=10
+ fork_branch=10
+ export head_branch=master
+ head_branch=master
+ export 'pull_title=Added simplecov'
+ pull_title='Added simplecov'
+ export author=amihaiemil
+ author=amihaiemil
+ export GEM_HOME=/home/r/.ruby
+ GEM_HOME=/home/r/.ruby
+ export GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global
+ GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global
+ bundle install
\u001b[31m
[!] There was an error parsing `Gemfile`: 
[!] There was an error while loading `ruby-stream-api.gemspec`: cannot load such file -- simplecov
Does it try to require a relative path? That's been removed in Ruby 1.9. Bundler cannot continue.

 #  from /home/r/repo/ruby-stream-api.gemspec:1
 #  -------------------------------------------
 >  require 'simplecov'
 #  SimpleCov.start do
 #  -------------------------------------------
. Bundler cannot continue.

 #  from /home/r/repo/Gemfile:4
 #  -------------------------------------------
 #  # Specify your gem's dependencies in ruby-stream-api.gemspec
 >  gemspec
 #  
 #  -------------------------------------------
\u001b[0mcontainer ff554141984f58e473c63584a19785cd5de228d141446ec64fc6669886885e71 is dead
Tue Apr 28 20:21:51 CEST 2020

@amihaiemil amihaiemil merged commit 0f0a9d4 into master Apr 28, 2020
@amihaiemil amihaiemil deleted the 10 branch April 28, 2020 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants