File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 18
18
matrix :
19
19
include :
20
20
- name : latest Ansible 5 release
21
- options : ' -e galaxy_requirements="{{ playbook_dir | dirname }}/5/galaxy-requirements.yaml"'
21
+ ansible_major : 5
22
+ ansible_core : 2.12
23
+ ansible_core_next : 2.13
22
24
- name : latest Ansible 6 release
23
- options : ' -e galaxy_requirements="{{ playbook_dir | dirname }}/6/galaxy-requirements.yaml"'
25
+ ansible_major : 6
26
+ ansible_core : 2.13
27
+ ansible_core_next : 2.14
24
28
25
29
steps :
26
30
- name : Check out ansible-build-data
@@ -33,12 +37,12 @@ jobs:
33
37
with :
34
38
python-version : 3.9
35
39
36
- - name : Install dependencies
40
+ - name : Install ansible-core ${{ matrix.ansible_core }}
37
41
run : |
38
42
python3 -m pip install --upgrade pip
39
- python3 -m pip install ansible-core
43
+ python3 -m pip install ansible-core>=${{ matrix.ansible_core }},${{ matrix.ansible_core_next }}
40
44
41
45
- name : " Run sanity tests for ${{ matrix.name }}"
42
46
run : |
43
- ansible-playbook -vv tests/collection-tests.yaml ${{ matrix.options }}
47
+ ansible-playbook -vv tests/collection-tests.yaml -e 'galaxy_requirements="{{ playbook_dir | dirname }}/ ${{ matrix.ansible_major }}/galaxy-requirements.yaml"'
44
48
working-directory : ansible-build-data
You can’t perform that action at this time.
0 commit comments