diff --git a/.github/workflows/ansible-ci.yml b/.github/workflows/ansible-ci.yml index 3a5333e..d808caf 100644 --- a/.github/workflows/ansible-ci.yml +++ b/.github/workflows/ansible-ci.yml @@ -102,6 +102,7 @@ jobs: with: targets: ${{ needs.discover-ansible-tests.outputs.molecule-tests }} ansible-core-versions: ${{ needs.discover-ansible-versions.outputs.versions }} + coverage: never ansible-test-integration: uses: ./.github/workflows/ansible-test-integration.yml diff --git a/.github/workflows/ansible-test-integration.yml b/.github/workflows/ansible-test-integration.yml index 66f38e2..885b43a 100644 --- a/.github/workflows/ansible-test-integration.yml +++ b/.github/workflows/ansible-test-integration.yml @@ -14,6 +14,10 @@ on: required: false default: '["default"]' type: string + coverage: + required: false + default: auto + type: string jobs: ansible-test-integration: @@ -24,6 +28,7 @@ jobs: targets: ${{ fromJson(inputs.targets) }} ansible-core-versions: ${{ fromJson(inputs.ansible-core-versions) }} target-python-versions: ${{ fromJson(inputs.target-python-versions) }} + coverage: ${{ fromJson(inputs.coverage) }} name: "${{ matrix.targets.name }}-${{ matrix.ansible-core-versions }}" steps: @@ -36,6 +41,6 @@ jobs: docker-image: "--docker-privileged" # Workaround because ansible-test action doesn't support setting privileged flag testing-type: integration target: ${{ matrix.targets.test }} - # coverage: never # https://github.com/ansible-community/ansible-test-gh-action/pull/50 + coverage: ${{ matrix.coverage }} env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"