mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-30 08:31:37 -07:00
disable spanner_database_info tests, python to 3.9
The client's List continues to be flakey. disabling until the endpoint is stable. Switching tests to use ansible 2.14, as 2.13 has issues with spawning a docker container. Upgrading the base python version as a consequence. Removing the need for docker from unit tests, since that was failing and also non-critical to run unit tests.
This commit is contained in:
parent
1ec54b286d
commit
eab8b1fb7b
4 changed files with 23 additions and 19 deletions
|
@ -28,7 +28,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.8' # this is the minimum version required for Ansible 2.13
|
||||
python-version: '3.9' # this is the minimum version required for Ansible 2.13
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Install ansible-base (${{ matrix.ansible_version }})
|
||||
|
@ -62,4 +62,4 @@ jobs:
|
|||
# run tests
|
||||
- name: Run integration tests
|
||||
# Add the -vvv flag to print out more output
|
||||
run: ansible-test integration -v --color --python 3.8 --venv-system-site-packages
|
||||
run: ansible-test integration -v --color --python 3.9 --venv-system-site-packages
|
9
.github/workflows/ansible-test.yml
vendored
9
.github/workflows/ansible-test.yml
vendored
|
@ -37,9 +37,8 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
ansible_version:
|
||||
- stable-2.13
|
||||
- stable-2.14
|
||||
- stable-2.11
|
||||
- stable-2.9
|
||||
steps:
|
||||
- name: check out code
|
||||
uses: actions/checkout@v2
|
||||
|
@ -48,10 +47,12 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.8' # this is the minimum version required for Ansible 2.11
|
||||
python-version: '3.9' # this is the minimum version required for Ansible 2.14
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Install test dependencies
|
||||
run: pip install -r requirements-test.txt
|
||||
- name: Install ansible-base (${{ matrix.ansible_version }})
|
||||
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible_version }}.tar.gz --disable-pip-version-check
|
||||
- name: Run unit tests
|
||||
run: ansible-test units --docker -v --color --python 3.8
|
||||
run: ansible-test units -v --color --python 3.9
|
Loading…
Add table
Add a link
Reference in a new issue