rem
pushed to master at rem/ruby-scaffold_gem
- ae84fd3679 Update scaffolder read me
- c2c132fb7b Remove scaffold-ci until its possible to figure out why fails in CI
=d14ec3a= should have the latest config. =ca77179=, and =cfd770e= may be
worth looking at
Although all tests pass locally, on a macOS Sierra 10.12.6, the
=test_renames__gem_basename_files= (about line 103) fails on both CI
images.
With =puts Dir["#{dir}/**/*"]= before, and after, stubbed files are
processed we get to see that files under lib get renamed as if they were
tests. (Snippet of the output at the bottom).
These seeds failed on CI but passed locally: 64433, 798, 32226, 31942,
50103, 65183, 60602. Others were tested at the time with the similar
results. Although at the time I wasn't keeping track of the seeds they
can be found in CI pipelines
Also, Bundler complains about requiring the version file. Searching the
web I found other projects have the same problem on CI only.
I didn't try removing any require or require_relative since it's still
failing due to the above problem.
== Start test run snippet
macOS Sierra 10.12.6
S.................................................../var/some/tmp/lib
/var/some/tmp/lib/_gem_basename
/var/some/tmp/lib/_gem_basename/doc.rb
/var/some/tmp/lib/_gem_basename.rb
/var/some/tmp/test
/var/some/tmp/test/lib
/var/some/tmp/test/lib/_gem_basename
/var/some/tmp/test/lib/_gem_basename/test_doc.rb
/var/some/tmp/test/lib/test__gem_basename.rb
--------------------------------------------------
..../var/some/tmp/lib
/var/some/tmp/lib/some_plugin
/var/some/tmp/lib/some_plugin.rb
/var/some/tmp/test
/var/some/tmp/test/lib
/var/some/tmp/test/lib/some_plugin
/var/some/tmp/test/lib/some_plugin/test_doc.rb
/var/some/tmp/test/lib/test_some_plugin.rb
....
On the CI, though ruby2.6-alpine --seed 64433
S...................../tmp/d20190115-8-129p0ei/test
/tmp/d20190115-8-129p0ei/test/lib
/tmp/d20190115-8-129p0ei/test/lib/test__gem_basename.rb
/tmp/d20190115-8-129p0ei/test/lib/_gem_basename
/tmp/d20190115-8-129p0ei/test/lib/_gem_basename/test_doc.rb
/tmp/d20190115-8-129p0ei/lib
/tmp/d20190115-8-129p0ei/lib/_gem_basename.rb
/tmp/d20190115-8-129p0ei/lib/_gem_basename
/tmp/d20190115-8-129p0ei/lib/_gem_basename/doc.rb
--------------------------------------------------
/tmp/d20190115-8-129p0ei/test
/tmp/d20190115-8-129p0ei/test/lib
/tmp/d20190115-8-129p0ei/test/lib/test_some_plugin.rb
/tmp/d20190115-8-129p0ei/test/lib/test_some_plugin
/tmp/d20190115-8-129p0ei/test/lib/test_some_plugin/test_doc.rb
/tmp/d20190115-8-129p0ei/lib
/tmp/d20190115-8-129p0ei/lib/test_some_plugin.rb
/tmp/d20190115-8-129p0ei/lib/test_some_plugin
/tmp/d20190115-8-129p0ei/lib/test_some_plugin/doc.rb
F.....................................
ruby2.5 --seed 798
S............................./tmp/d20190115-8-6852k2/test
/tmp/d20190115-8-6852k2/test/lib
/tmp/d20190115-8-6852k2/test/lib/test__gem_basename.rb
/tmp/d20190115-8-6852k2/test/lib/_gem_basename
/tmp/d20190115-8-6852k2/test/lib/_gem_basename/test_doc.rb
/tmp/d20190115-8-6852k2/lib
/tmp/d20190115-8-6852k2/lib/_gem_basename.rb
/tmp/d20190115-8-6852k2/lib/_gem_basename
/tmp/d20190115-8-6852k2/lib/_gem_basename/doc.rb
--------------------------------------------------
/tmp/d20190115-8-6852k2/test
/tmp/d20190115-8-6852k2/test/lib
/tmp/d20190115-8-6852k2/test/lib/test_some_plugin.rb
/tmp/d20190115-8-6852k2/test/lib/test_some_plugin
/tmp/d20190115-8-6852k2/test/lib/test_some_plugin/test_doc.rb
/tmp/d20190115-8-6852k2/lib
/tmp/d20190115-8-6852k2/lib/test_some_plugin.rb
/tmp/d20190115-8-6852k2/lib/test_some_plugin
/tmp/d20190115-8-6852k2/lib/test_some_plugin/doc.rb
..F...........................
- View comparison for these 2 commits »
5 years ago