question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Standard matrix workflow structure is as below, with access as matrix.os & matrix.ruby:

matrix:
  os: [ ubuntu-16.04, ubuntu-18.04, macos-latest, windows-latest ]
  ruby: [ 2.2, 2.3, .ruby-version, .tool-versions, head, jruby, jruby-head, truffleruby ]

But the following also works, with access as matrix.cfg.os & matrix.cfg.ruby:

matrix:
  cfg:
    - { ruby: rubinius, os: ubuntu-18.04   }
    - { ruby: mingw   , os: windows-latest }
    - { ruby: mswin   , os: windows-latest }

The 2nd type can be very helpful when the matrix is sparse.

Questions:

  1. Is the second type supported?

  2. If above is true, the different access syntax is messy if one changes from one to the other. If the following was supported, the access would be identical. The distinction between the first ‘standard’ matrix and the one below is simply whether the first array element is another array or an object/hash…

matrix:
  - { ruby: rubinius, os: ubuntu-18.04   }
  - { ruby: mingw   , os: windows-latest }
  - { ruby: mswin   , os: windows-latest }

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18

github_iconTop GitHub Comments

2reactions
ericsciplecommented, Feb 25, 2020

lol - i got sidetracked, other stuff came up. The work is done i just need to push on reviewers.

If you want, feel free to leave open and I can communicate an ETA here.

1reaction
eregoncommented, Mar 31, 2020

This works nicely, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Matrix Organization
A matrix organization is defined as one in which there is dual or multiple managerial accountability and responsibility. However, the term matrix means ......
Read more >
Matrix Organizational Structure: Pros and Cons for Using It
The matrix organizational structure is a combination of two or more different kinds of organizational structures, such as project management ...
Read more >
6 Advantages and Disadvantages of a Matrix ... - ChartHop
A matrix organizational structure is a cross-team effort to bring different roles together and create a grid-like reporting structure ...
Read more >
Matrix management - Wikipedia
Matrix management is an organizational structure in which some individuals report to more than one supervisor or leader–relationships described as solid ...
Read more >
4 Matrix Organizational Structure Examples (+Templates)
If you're struggling with managing multiple teams and projects, a matrix organization structure can make all the difference.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found