Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

ci: serialize Midscene model workflows

quanru6148902d81cb
diff --git a/.github/workflows/midscene-omarchy-4.0.3.yml b/.github/workflows/midscene-omarchy-4.0.3.yml
index 84ba6b7..c2b3a1e 100644
--- a/.github/workflows/midscene-omarchy-4.0.3.yml
+++ b/.github/workflows/midscene-omarchy-4.0.3.yml
@@ -1,6 +1,10 @@
name: Omarchy 4.0.3
run-name: Omarchy 4.0.3
+concurrency:
+ group: midscene-model-e2e
+ cancel-in-progress: false
+
on:
push:
branches: [main]
diff --git a/.github/workflows/midscene-ubuntu-22.04.yml b/.github/workflows/midscene-ubuntu-22.04.yml
index 8c18e48..c53b3d9 100644
--- a/.github/workflows/midscene-ubuntu-22.04.yml
+++ b/.github/workflows/midscene-ubuntu-22.04.yml
@@ -1,6 +1,10 @@
name: Ubuntu 22.04
run-name: Ubuntu 22.04
+concurrency:
+ group: midscene-model-e2e
+ cancel-in-progress: false
+
on:
push:
branches: [main]
@@ -95,8 +99,10 @@ jobs:
echo "Ubuntu Midscene failed for a non-network reason; not retrying." >&2
exit 1
fi
- echo "Transient model connection failure on attempt ${test_attempt}; retrying in 10 seconds." >&2
- sleep 10
+ if [[ $test_attempt -lt 3 ]]; then
+ echo "Transient model connection failure on attempt ${test_attempt}; retrying in 10 seconds." >&2
+ sleep 10
+ fi
done
if [[ $midscene_passed != true ]]; then
diff --git a/tests/midscene/run-omarchy-midscene.sh b/tests/midscene/run-omarchy-midscene.sh
index f381355..d38906d 100755
--- a/tests/midscene/run-omarchy-midscene.sh
+++ b/tests/midscene/run-omarchy-midscene.sh
@@ -166,8 +166,10 @@ for _test_attempt in 1 2 3; do
echo "Omarchy Midscene failed for a non-network reason; not retrying." >&2
exit 1
fi
- echo "Transient model connection failure on attempt $_test_attempt; retrying in 10 seconds." >&2
- sleep 10
+ if [[ $_test_attempt -lt 3 ]]; then
+ echo "Transient model connection failure on attempt $_test_attempt; retrying in 10 seconds." >&2
+ sleep 10
+ fi
done
if [[ $MIDSCENE_PASSED != true ]]; then