heavy-duty / znap

Performance-first Rust Framework to build APIs compatible with the Solana Actions Spec.
Apache License 2.0
60 stars 1 forks source link

CI Workflow #76

Closed SergioRibera closed 2 months ago

SergioRibera commented 2 months ago

So far only makes a validation of the code of the libraries and core members, not implemented the validation of the examples because it would not be scalable automatically and would require manual update, however if you come up with ideas, I'm attentive

At the moment the pipeline consists of 2 parallel jobs:

[!NOTE] The clippy is in a configuration that prevents the existence of warnings for better code quality, no additional rule has been added

this close #58

[!IMPORTANT] To fix some problems you can automatically runcargo fmt --all for formatting and cargo clippy --fix -- D warnings for clippy

SergioRibera commented 2 months ago

@danmt okey, everything is done, it takes care of running in parallel, the formatting, API load tests, clippy and the znap tests, the snap tests are run in subfolders inside tests/, it runs as an independent task each folder to facilitate its later analysis

danmt commented 2 months ago

LGTM