File tree Expand file tree Collapse file tree 5 files changed +13
-10
lines changed
Expand file tree Collapse file tree 5 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,18 @@ Run `matrixeval --help` for more details
5252Here is the configuration file ` matrixeval.yml ` which will auto created by ` matrixeval init `
5353
5454``` yaml
55- version : 0.2
55+ version : 0.3
56+ project_name : REPLACE_ME
5657target : ruby
5758parallel_workers : number_of_processors
5859# commands:
5960# - ps
6061# - top
6162# - an_additional_command
63+ # mounts:
64+ # - /a/path/need/to/mount:/a/path/mount/to
6265matrix :
6366 ruby :
64- # mounts:
65- # - /a/path/need/to/mount:/a/path/mount/to
6667 variants :
6768 - key : 2.7
6869 container :
@@ -77,8 +78,10 @@ matrix:
7778 # - key: jruby-9.3
7879 # container:
7980 # image: jruby:9.3
80- # env:
81+ # env:
8182 # PATH: "/opt/jruby/bin:/app/bin:/bundle/bin:$PATH"
83+ # mounts:
84+ # - /a/path/need/to/mount:/a/path/mount/to
8285
8386 # rails:
8487 # variants:
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class Matrixeval::Ruby::CommandLine::ParseContextArgumentsTest < MatrixevalTest
66
77 def setup
88 Matrixeval ::Ruby ::Config ::YAML . stubs ( :yaml ) . returns ( {
9- "version" => "0.2 " ,
9+ "version" => "0.3 " ,
1010 "target" => "ruby" ,
1111 "matrix" => {
1212 "ruby" => {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def test_not_delete_exising_dot_matrixeval_yaml
2929
3030 def test_square_brackets
3131 yaml_content = {
32- "version" => "0.2 " ,
32+ "version" => "0.3 " ,
3333 "target" => "ruby" ,
3434 "matrix" => {
3535 "ruby" => {
@@ -47,7 +47,7 @@ def test_square_brackets
4747 }
4848 }
4949 Matrixeval ::Ruby ::Config ::YAML . stubs ( :yaml ) . returns ( yaml_content )
50- assert_equal "0.2 " , Matrixeval ::Ruby ::Config ::YAML [ "version" ]
50+ assert_equal "0.3 " , Matrixeval ::Ruby ::Config ::YAML [ "version" ]
5151 assert_equal "ruby" , Matrixeval ::Ruby ::Config ::YAML [ "target" ]
5252 assert_equal "3.0" , Matrixeval ::Ruby ::Config ::YAML [ "matrix" ] [ "ruby" ] [ "variants" ] [ 0 ] [ "key" ]
5353 assert_equal "3.1" , Matrixeval ::Ruby ::Config ::YAML [ "matrix" ] [ "ruby" ] [ "variants" ] [ 1 ] [ "key" ]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class Matrixeval::Ruby::ConfigTest < MatrixevalTest
66
77 def setup
88 Matrixeval ::Ruby ::Config ::YAML . stubs ( :yaml ) . returns ( {
9- "version" => "0.2 " ,
9+ "version" => "0.3 " ,
1010 "target" => "ruby" ,
1111 "project_name" => "sample app" ,
1212 "mounts" => [ "/a:/b" ] ,
@@ -37,7 +37,7 @@ def setup
3737 end
3838
3939 def test_version
40- assert_equal "0.2 " , Matrixeval ::Ruby ::Config . version
40+ assert_equal "0.3 " , Matrixeval ::Ruby ::Config . version
4141 end
4242
4343 def test_target
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class Matrixeval::Ruby::Context::FindByCommandOptionsTest < MatrixevalTest
66
77 def setup
88 Matrixeval ::Ruby ::Config ::YAML . stubs ( :yaml ) . returns ( {
9- "version" => "0.2 " ,
9+ "version" => "0.3 " ,
1010 "target" => "ruby" ,
1111 "matrix" => {
1212 "ruby" => {
You can’t perform that action at this time.
0 commit comments