mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-07 11:10:32 -07:00
Fix ci python requirements (#416)
* Add matrix for python and ansible-core versions for sanity tests * Add python 3.9 to integrations tests * Add python 3.9 to unit tests * Reformat sort by python version first
This commit is contained in:
parent
c4e90f087d
commit
97318559e5
1 changed files with 38 additions and 5 deletions
43
.github/workflows/ansible-test-plugins.yml
vendored
43
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -29,6 +29,18 @@ jobs:
|
||||||
- stable-2.12
|
- stable-2.12
|
||||||
- stable-2.13
|
- stable-2.13
|
||||||
- devel
|
- devel
|
||||||
|
python:
|
||||||
|
- 3.8
|
||||||
|
- 3.9
|
||||||
|
exclude:
|
||||||
|
- python: 3.8
|
||||||
|
ansible: stable-2.13
|
||||||
|
- python: 3.8
|
||||||
|
ansible: devel
|
||||||
|
- python: 3.9
|
||||||
|
ansible: stable-2.11
|
||||||
|
- python: 3.9
|
||||||
|
ansible: stable-2.12
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
@ -39,7 +51,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Install ansible-base (${{ matrix.ansible }})
|
- name: Install ansible-base (${{ matrix.ansible }})
|
||||||
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
||||||
|
@ -69,6 +81,7 @@ jobs:
|
||||||
python:
|
python:
|
||||||
- 3.6
|
- 3.6
|
||||||
- 3.8
|
- 3.8
|
||||||
|
- 3.9
|
||||||
connector:
|
connector:
|
||||||
- pymysql==0.7.10
|
- pymysql==0.7.10
|
||||||
- pymysql==0.9.3
|
- pymysql==0.9.3
|
||||||
|
@ -78,14 +91,22 @@ jobs:
|
||||||
connector: pymysql==0.7.10
|
connector: pymysql==0.7.10
|
||||||
- db_engine_version: mariadb_10.8.3
|
- db_engine_version: mariadb_10.8.3
|
||||||
connector: pymysql==0.7.10
|
connector: pymysql==0.7.10
|
||||||
- python: 3.8
|
|
||||||
ansible: stable-2.11
|
|
||||||
- python: 3.6
|
- python: 3.6
|
||||||
ansible: stable-2.12
|
ansible: stable-2.12
|
||||||
- python: 3.6
|
- python: 3.6
|
||||||
ansible: stable-2.13
|
ansible: stable-2.13
|
||||||
- python: 3.6
|
- python: 3.6
|
||||||
ansible: devel
|
ansible: devel
|
||||||
|
- python: 3.8
|
||||||
|
ansible: stable-2.11
|
||||||
|
- python: 3.8
|
||||||
|
ansible: stable-2.13
|
||||||
|
- python: 3.8
|
||||||
|
ansible: devel
|
||||||
|
- python: 3.9
|
||||||
|
ansible: stable-2.11
|
||||||
|
- python: 3.9
|
||||||
|
ansible: stable-2.12
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -97,7 +118,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Install ansible-base (${{ matrix.ansible }})
|
- name: Install ansible-base (${{ matrix.ansible }})
|
||||||
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
||||||
|
@ -147,6 +168,18 @@ jobs:
|
||||||
- stable-2.12
|
- stable-2.12
|
||||||
- stable-2.13
|
- stable-2.13
|
||||||
- devel
|
- devel
|
||||||
|
python:
|
||||||
|
- 3.8
|
||||||
|
- 3.9
|
||||||
|
exclude:
|
||||||
|
- python: 3.8
|
||||||
|
ansible: stable-2.13
|
||||||
|
- python: 3.8
|
||||||
|
ansible: devel
|
||||||
|
- python: 3.9
|
||||||
|
ansible: stable-2.11
|
||||||
|
- python: 3.9
|
||||||
|
ansible: stable-2.12
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
@ -157,7 +190,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Install ansible-base (${{matrix.ansible}})
|
- name: Install ansible-base (${{matrix.ansible}})
|
||||||
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
||||||
|
|
Loading…
Add table
Reference in a new issue