From 5257e71fda07605920bc84223e81418899461cab Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 9 Nov 2022 07:57:26 +0100 Subject: [PATCH] Add smoke/integration tests for change detection --- .github/workflows/test-action.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index a4aa5f5..2bfc100 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -36,6 +36,8 @@ jobs: - '' pre-test-cmd: - '' + pull-request-change-detection: + - '' target: - '' target-python-version: @@ -68,8 +70,10 @@ jobs: testing-type: units - ansible-core-version: stable-2.13 collection-root: .internal/ansible/ansible_collections/internal/test - collection-src-directory: ./.tmp-action-checkout + # NOTE: A missing `collection-src-directory` input causes + # NOTE: fetching the repo from GitHub. origin-python-version: '3.9' + pull-request-change-detection: 'true' testing-type: integration - ansible-core-version: stable-2.13 collection-root: .internal/ansible/ansible_collections/internal/test @@ -111,6 +115,8 @@ jobs: git-checkout-ref: ${{ matrix.git-checkout-ref }} origin-python-version: ${{ matrix.origin-python-version }} pre-test-cmd: ${{ matrix.pre-test-cmd }} + pull-request-change-detection: >- + ${{ matrix.pull-request-change-detection || 'false' }} target: ${{ matrix.target }} target-python-version: ${{ matrix.target-python-version }} testing-type: ${{ matrix.testing-type }}