Closed nfm closed 7 years ago
I'm still facing this issue. gitlab-runner -v
output:
Version: 11.3.1
Git revision: 0aa5179e
Git branch:
GO version: go1.11
Built: 2018-10-02T17:15:38+0000
OS/Arch: linux/amd64
Result:
/var/lib/gitlab-runner/.gem/ruby/2.5.0/gems/codecov-0.1.10/lib/codecov.rb:181:in `format': undefined method `split' for nil:NilClass (NoMethodError)
from /var/lib/gitlab-runner/.gem/ruby/2.5.0/gems/simplecov-0.15.1/lib/simplecov/result.rb:46:in `format!'
from /var/lib/gitlab-runner/.gem/ruby/2.5.0/gems/simplecov-0.15.1/lib/simplecov/configuration.rb:180:in `block in at_exit'
from /var/lib/gitlab-runner/.gem/ruby/2.5.0/gems/simplecov-0.15.1/lib/simplecov/defaults.rb:68:in `block in <top (required)>'
Codecov and Simplecov gems are out of date. I'm using community/gitlab-runner
on Arch Linux.
Never mind, I found out all I needed to do was update my project's gems. I'm new to gitlab and wasn't sure where the installed gems were coming from.
GitLab renamed some of their CI variables in GitLab Runner v9: https://docs.gitlab.com/ce/ci/variables/README.html#9-0-renaming
As a result, we get the following error at the end of our test suite: