Commit 4251a26c authored by Andrew Jones's avatar Andrew Jones Committed by Hero Bird
Browse files

[cli] run abi tests only on CI, add flags to abi cmd (#234)

* [cli] run cli cmd tests on Ci only

* [cli] run abi build in release and with no-default-features
parent 78fb06f9
Pipeline #56859 failed with stages
in 24 seconds
......@@ -29,6 +29,8 @@ pub(crate) fn execute_generate_abi(dir: Option<&PathBuf>) -> Result<String> {
super::exec_cargo("run", &[
"--package",
"abi-gen",
"--release",
"--no-default-features",
"--verbose",
], dir)?;
......@@ -53,6 +55,7 @@ mod tests {
AbstractionLayer,
};
#[cfg(feature = "test-ci-only")]
#[test]
fn generate_abi() {
with_tmp_dir(|path| {
......
......@@ -204,9 +204,6 @@ mod tests {
#[cfg(feature = "test-ci-only")]
#[test]
// FIXME: https://github.com/paritytech/ink/issues/202
// currently fails on CI because of global RUSTFLAGS overriding required `--import-memory`
#[ignore]
fn build_template() {
with_tmp_dir(|path| {
execute_new(AbstractionLayer::Lang, "new_project", Some(path))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment