diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b2b1b5f..4e55338 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -331,7 +331,7 @@ jobs: # Check if all molecule-tests contexts are terminal (success/failure) mol_contexts=[k for k in statuses if 'molecule-tests' in k] if not mol_contexts: - print('pending') + print('skipped') elif all(statuses[k] in ('success','failure') for k in mol_contexts): if any(statuses[k]=='failure' for k in mol_contexts): print('failure') @@ -341,8 +341,8 @@ jobs: print('pending') ") echo "Molecule tests status: $STATUS (elapsed: ${ELAPSED}s)" - if [ "$STATUS" = "success" ]; then - echo "All molecule tests passed." + if [ "$STATUS" = "success" ] || [ "$STATUS" = "skipped" ]; then + echo "All molecule tests passed (or skipped — no ansible changes)." break elif [ "$STATUS" = "failure" ]; then echo "ERROR: Molecule tests failed. Aborting auto-merge."