-
Notifications
You must be signed in to change notification settings - Fork 6
Optimised CI #182
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
Optimised CI #182
Conversation
examples/justfile
Outdated
|
|
||
| # Start all services for a runtime (use with run-test-* recipes) | ||
| # Usage: just start-services bulletin-polkadot-runtime | ||
| start-services runtime: npm-install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add test_dir as param
| start-services runtime: npm-install | |
| start-services test_dir runtime: npm-install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JFYI
After this PR I have a feeling that it's high time to refactor justfile - #185
examples/justfile
Outdated
| # File to store current test directory path for multi-test runs | ||
| _test-dir-file := "/tmp/bulletin-test-dir" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use test_dir propagation - it is safer then to make expectation about current dir or -f checks
| # File to store current test directory path for multi-test runs | |
| _test-dir-file := "/tmp/bulletin-test-dir" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
bkontur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@x3c41a very good job, from 42 to 24 minutes (cca 20 minutes is just building runtime or node)
Another attempt on a fresh master (no merge conflicts this time)