From 38f9ba71953f0fc2f1731cdbdd59ec2312b485a7 Mon Sep 17 00:00:00 2001 From: Bernd Finger Date: Fri, 26 Jan 2024 17:30:43 +0100 Subject: [PATCH] collection: Implement manual trigger for sanity testing Signed-off-by: Bernd Finger --- .github/workflows/ansible-test-sanity.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ansible-test-sanity.yml b/.github/workflows/ansible-test-sanity.yml index 90b32f207..6d544a10c 100644 --- a/.github/workflows/ansible-test-sanity.yml +++ b/.github/workflows/ansible-test-sanity.yml @@ -7,8 +7,12 @@ name: ansible-test sanity of the collection on: schedule: - cron: '31 12 * * 1' - workflow_dispatch: + branches: + - main + - dev + paths: + - '**' jobs: sanity: @@ -25,8 +29,8 @@ jobs: - name: Install test dependencies run: | - pip3 install ansible ansible-lint==6.8.6 - pip3 install ansible-compat==3.0.2 + pip3 install ansible-lint==6.22.2 + pip3 install ansible-compat==4.1.11 # - name: Install collection dependencies # run: ansible-galaxy collection install community.general