Closed ColeSmith-dev closed 3 years ago
I've found out that variables cannot store multiple values like a sequence which is used by matrices. I also cannot use matrices for multiple different jobs. I believe this to mean either using a variable for the build environment which locks it to one platform or that it is necessary to update a buildPlatform sequence in test's matrix when making any change to the platforms for build.
I've found out that variables cannot store multiple values like a sequence which is used by matrices. I also cannot use matrices for multiple different jobs. I believe this to mean either using a variable for the build environment which locks it to one platform or that it is necessary to update a buildPlatform sequence in test's matrix when making any change to the platforms for build.
I'm working on using a JSON object for a matrix output from a new job to abstract the matrices for build and test.
I have undone the changes i pushed while trying to get matrix abstraction working. The build job currently runs on ubuntu-latest and ruby 2.7. The test jobs run on ubuntu-latest, macos-latest, and windows-latest on ruby 2.7.
Modified build.yml to build inspec_tools gem once and download it during each test. Avoids unnecessary time spent building and better reflects user usage.