# README FIRST # 1. If you don't have unit tests, remove that section. # 2. If your collection depends on other collections ensure they are installed, # add them to the "test-deps" input. # 3. For the comprehensive list of the inputs supported by the # ansible-community/ansible-test-gh-action GitHub Action, see # https://github.com/marketplace/actions/ansible-test. # 4. If you need help please ask in #ansible-community on the Libera.chat IRC # network. name: Fast CI on: # Run CI against all pushes push: branches-ignore: - main pull_request: branches-ignore: - main # manual workflow_dispatch: jobs: ### # Sanity tests (REQUIRED) # # https://docs.ansible.com/ansible/latest/dev_guide/testing_sanity.html sanity: name: Sanity tests runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: # Ansible Support matrix # https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix ansible: - stable-2.19 python: - 3.13 os: - ubuntu-24.04 steps: - name: Sanity testing uses: ansible-community/ansible-test-gh-action@release/v1 with: ansible-core-version: ${{ matrix.ansible }} target-python-version: ${{ matrix.python }} testing-type: sanity test-deps: >- ansible.netcommon ansible.utils community.internal_test_tools unit: name: Unit tests runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: # Ansible Support matrix # https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix ansible: - stable-2.19 python: - 3.13 os: - ubuntu-24.04 steps: - name: Unit testing uses: ansible-community/ansible-test-gh-action@release/v1 with: ansible-core-version: ${{ matrix.ansible }} target-python-version: ${{ matrix.python }} testing-type: units test-deps: >- ansible.netcommon ansible.utils community.internal_test_tools