From 376cff0676b326b8abb0c134520c059822d36ffc Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Mon, 4 Nov 2024 13:55:32 -0500 Subject: [PATCH 1/2] Selenium suite workflow: updates for 2024 1. Use Elixir 1.17.x 2. Run only when several relevant code paths change 3. Do not run when unrelated core server tests change --- .github/workflows/test-authnz.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-authnz.yaml b/.github/workflows/test-authnz.yaml index d1b35609d5d7..b4a3f2a2e5cb 100644 --- a/.github/workflows/test-authnz.yaml +++ b/.github/workflows/test-authnz.yaml @@ -3,12 +3,13 @@ on: push: branches: - main - - v3.12.x - - v3.11.x + - v4.0.x paths: - - 'deps/rabbit/**' + - 'deps/rabbit/src/rabbit_auth**' + - 'deps/rabbit/src/rabbit_access_control**' - 'deps/rabbitmq_auth_**' - - 'deps/rabbitmq_management/selenium/**' + - 'deps/rabbitmq_management/src/**' + - 'deps/rabbitmq_management/priv/**' - 'scripts/**' - .bazelrc - .bazelversion @@ -40,7 +41,7 @@ jobs: - chrome include: - erlang_version: "26.2" - elixir_version: 1.15.7 + elixir_version: 1.17.3 env: SELENIUM_DIR: selenium DOCKER_NETWORK: rabbitmq_net From 3ca95d103b0ef2ea81184e79f0520a3871aa02f6 Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Mon, 4 Nov 2024 14:03:10 -0500 Subject: [PATCH 2/2] 'deps/rabbitmq_management/selenium/**' is relevant for this workflow --- .github/workflows/test-authnz.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-authnz.yaml b/.github/workflows/test-authnz.yaml index b4a3f2a2e5cb..1e5e6c54c454 100644 --- a/.github/workflows/test-authnz.yaml +++ b/.github/workflows/test-authnz.yaml @@ -10,6 +10,7 @@ on: - 'deps/rabbitmq_auth_**' - 'deps/rabbitmq_management/src/**' - 'deps/rabbitmq_management/priv/**' + - 'deps/rabbitmq_management/selenium/**' - 'scripts/**' - .bazelrc - .bazelversion