From b7d13e3d8810653f9376264ec33a31b7795bf60f Mon Sep 17 00:00:00 2001 From: Felipe Coury Date: Fri, 12 Jul 2024 15:16:08 -0300 Subject: [PATCH] test: ignore slow tests locally, but run them on CI --- .github/workflows/rust.yml | 2 +- tests/transpiler_test.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a89d56b..3249531 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -49,4 +49,4 @@ jobs: run: cargo build --verbose - name: Test - run: cargo test --verbose + run: cargo test --verbose -- --ignored diff --git a/tests/transpiler_test.rs b/tests/transpiler_test.rs index fb641ee..d8f7939 100644 --- a/tests/transpiler_test.rs +++ b/tests/transpiler_test.rs @@ -1,6 +1,7 @@ use std::process::Command; #[test] +#[ignore] fn test_transpile_scripts() -> anyhow::Result<()> { // executes script.sh and checks for exit code let output = Command::new("bash")