Debian Codegraph @

ansible_collections/purestorage/flasharray/.github/workflows/main.yml

raw symbols SCIP
1 name: Pure Storage Ansible CI
2
3 "on":
4 pull_request:
5 push:
6 schedule:
7 - cron: '25 10 * * *'
8
9 jobs:
10 build:
11 name: Build flasharray on Ansible ${{ matrix.ansible }} (Python ${{ matrix.python-version }})
12 runs-on: ubuntu-latest
13 strategy:
14 matrix:
15 ansible:
16 - stable-2.16
17 - stable-2.17
18 - stable-2.18
19 - stable-2.19
20 - devel
21 python-version:
22 - "3.10"
23 - "3.11"
24 - "3.12"
25 - "3.13"
26 - "3.14"
27 exclude:
28 - python-version: "3.14"
29 ansible: stable-2.16
30 - python-version: "3.14"
31 ansible: stable-2.17
32 - python-version: "3.14"
33 ansible: stable-2.18
34 - python-version: "3.14"
35 ansible: stable-2.19
36 - python-version: "3.13"
37 ansible: stable-2.16
38 - python-version: "3.13"
39 ansible: stable-2.17
40 - python-version: "3.10"
41 ansible: stable-2.18
42 - python-version: "3.10"
43 ansible: stable-2.19
44 - python-version: "3.10"
45 ansible: devel
46 - python-version: "3.11"
47 ansible: devel
48 steps:
49 - name: Check out code
50 uses: actions/checkout@v3
51
52 - name: Set up Python ${{ matrix.python-version }}
53 uses: actions/setup-python@v3
54 with:
55 python-version: ${{ matrix.python-version }}
56
57 - name: Install dependencies
58 run: |
59 python${{ matrix.python }} -m pip install --upgrade pip
60 python${{ matrix.python }} -m pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
61
62 - name: Run sanity tests
63 run: |
64 pwd
65 mkdir -p ansible_collections/purestorage/flasharray
66 rsync -av . ansible_collections/purestorage/flasharray --exclude ansible_collection/purestorage/flasharray
67 cd ansible_collections/purestorage/flasharray
68 ansible-test sanity -v --color --python ${{ matrix.python-version }} --docker