From 439a54d9f156ce00dfc7a5b790cb1552ea1862fe Mon Sep 17 00:00:00 2001 From: KtorZ Date: Tue, 17 Jan 2023 17:28:25 +0100 Subject: [PATCH] Fix CI workflow not erroring on acceptance test failure. --- .github/workflows/rust.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9451b68a..7711ec84 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,7 +20,8 @@ jobs: run: cargo test --verbose --workspace - name: Run acceptance tests working-directory: examples/acceptance_tests - run: find . -maxdepth 1 -mindepth 1 -type d -exec ./run {} \; + run: for scenario in $(find . -maxdepth 1 -mindepth 1 -type d); ./run $scenario; + shell: bash - name: Lint run: cargo fmt --all -- --check - name: Clippy