name: Pure Storage Ansible CI "on": pull_request: push: schedule: - cron: '25 10 * * *' jobs: build: name: Build flashblade on Ansible ${{ matrix.ansible }} (Python ${{ matrix.python-version }}) runs-on: ubuntu-latest strategy: matrix: ansible: - stable-2.16 - stable-2.17 - stable-2.18 - stable-2.19 - devel python-version: - "3.10" - "3.11" - "3.12" - "3.13" - "3.14" exclude: - python-version: "3.14" ansible: stable-2.16 - python-version: "3.14" ansible: stable-2.17 - python-version: "3.14" ansible: stable-2.18 - python-version: "3.14" ansible: stable-2.19 - python-version: "3.13" ansible: stable-2.16 - python-version: "3.13" ansible: stable-2.17 - python-version: "3.10" ansible: stable-2.18 - python-version: "3.10" ansible: stable-2.19 - python-version: "3.10" ansible: devel - python-version: "3.11" ansible: devel steps: - name: Check out code uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python${{ matrix.python }} -m pip install --upgrade pip python${{ matrix.python }} -m pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check - name: Run sanity tests run: | pwd mkdir -p ansible_collections/purestorage/flashblade rsync -av . ansible_collections/purestorage/flashblade --exclude ansible_collection/purestorage/flashblade cd ansible_collections/purestorage/flashblade ansible-test sanity -v --color --python ${{ matrix.python-version }} --docker