Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split CI to run Sway, Rust or both test suites #751

Open
Braqzen opened this issue Oct 23, 2023 · 0 comments
Open

Split CI to run Sway, Rust or both test suites #751

Braqzen opened this issue Oct 23, 2023 · 0 comments
Labels
Improvement Enhancing a feature that already exists Repo Misc General repository upkeep

Comments

@Braqzen
Copy link
Contributor

Braqzen commented Oct 23, 2023

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

@Braqzen Braqzen added Improvement Enhancing a feature that already exists Repo Misc General repository upkeep labels Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Enhancing a feature that already exists Repo Misc General repository upkeep
Projects
None yet
Development

No branches or pull requests

1 participant