From a3ef0f531e9b1acceecdf63d365f42670afcf725 Mon Sep 17 00:00:00 2001 From: Paolo Salvatori Date: Wed, 28 Oct 2026 09:02:21 +0100 Subject: [PATCH] Rename the samples workflow to run-samples.yml localstack-azure-samples calls the workflow that tests its samples run-samples.yml, and this repository now uses the same file name for its own. The workflow lists its own path among the files whose change runs every app, so that entry follows the new name: with the old one, a pull request that changes only the workflow would run no app. The README's link to the workflow follows the new name too. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FvNuJK2RKgjS5PGMgTuSAF --- .github/workflows/{samples.yml => run-samples.yml} | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{samples.yml => run-samples.yml} (99%) diff --git a/.github/workflows/samples.yml b/.github/workflows/run-samples.yml similarity index 99% rename from .github/workflows/samples.yml rename to .github/workflows/run-samples.yml index 2d353f6..dbf3c65 100644 --- a/.github/workflows/samples.yml +++ b/.github/workflows/run-samples.yml @@ -89,7 +89,7 @@ jobs: echo "$changed" # Every job creates the cluster with the same script and checks the app with the same test, so a # change to either, or to this workflow, runs every app; otherwise an app runs when its folder changes - shared='^(scripts/01-system-assigned-managed-identity\.sh|tests/test-vacation-planner\.sh|\.github/workflows/samples\.yml)$' + shared='^(scripts/01-system-assigned-managed-identity\.sh|tests/test-vacation-planner\.sh|\.github/workflows/run-samples\.yml)$' if ! grep -q -E "$shared" <<< "$changed"; then selected=$(while read -r app; do if grep -q "^$app/" <<< "$changed"; then echo "$app"; fi diff --git a/README.md b/README.md index 7f344e0..55d9a2a 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ Alternatively, you can use a terminal UI such as [k9s](https://k9scli.io/) to se ./tests/test-vacation-planner.sh vacation-planner-blob vacation-planner-blob ``` -The [Test samples on LocalStack for Azure](.github/workflows/samples.yml) workflow runs this against the emulator, one job per sample app, in Python and .NET. Each job creates the cluster with `scripts/01-system-assigned-managed-identity.sh`, deploys the app with its numbered scripts, and runs the test. A pull request or a push to `main` runs the apps whose folders it changes, and all 20 when it changes the cluster script, the test or the workflow. A manual run tests the changed apps by default, or all 20 with `run_mode: all`. +The [Test samples on LocalStack for Azure](.github/workflows/run-samples.yml) workflow runs this against the emulator, one job per sample app, in Python and .NET. Each job creates the cluster with `scripts/01-system-assigned-managed-identity.sh`, deploys the app with its numbered scripts, and runs the test. A pull request or a push to `main` runs the apps whose folders it changes, and all 20 when it changes the cluster script, the test or the workflow. A manual run tests the changed apps by default, or all 20 with `run_mode: all`. It also picks where they run with `platform`: `Linux` (the default), `Windows`, from Git Bash, or `all`, which runs both at once, in parallel jobs of the same run. ## Tutorials