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 1818 matrix :
1919 include :
2020 - 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
2224 - 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
2428
2529 steps :
2630 - name : Check out ansible-build-data
@@ -33,12 +37,12 @@ jobs:
3337 with :
3438 python-version : 3.9
3539
36- - name : Install dependencies
40+ - name : Install ansible-core ${{ matrix.ansible_core }}
3741 run : |
3842 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 }}
4044
4145 - name : " Run sanity tests for ${{ matrix.name }}"
4246 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"'
4448 working-directory : ansible-build-data
You can’t perform that action at this time.
0 commit comments