Currently, CI forces Rust tests. This is an artefact of our journey to this point when in fact most of it isn't needed and should be in Sway instead.
CI should use conditional checks to run 1 or both test suites per project.
In the ENV variable, where we store the Rust version, create some arrays to contain the projects. 3 New variables. 1 array for both sway and rust tests, and then 1 for sway and 1 for rust.
When iterating in the matrix check if the array contains the current matrix project and run the appropriate commands
Motivation
Currently, CI forces Rust tests. This is an artefact of our journey to this point when in fact most of it isn't needed and should be in Sway instead.
CI should use conditional checks to run 1 or both test suites per project.
In the
ENV
variable, where we store the Rust version, create some arrays to contain the projects. 3 New variables. 1 array for both sway and rust tests, and then 1 for sway and 1 for rust. When iterating in the matrix check if the array contains the current matrix project and run the appropriate commands