mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-23 13:20:25 -07:00
Disable tests to concentrate on the \n and quote issue with my files
This commit is contained in:
parent
42fe4baf18
commit
a0a0493a0a
2 changed files with 78 additions and 74 deletions
65
.github/workflows/ansible-test-plugins.yml
vendored
65
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -82,40 +82,47 @@ jobs:
|
|||
- python: 3.9
|
||||
ansible: stable-2.12
|
||||
|
||||
services:
|
||||
db_primary:
|
||||
image: ${{ matrix.db_engine_version }}
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: msandbox
|
||||
MYSQL_ROOT_PASSWORD: msandbox
|
||||
ports:
|
||||
- 3307:3306
|
||||
# services:
|
||||
# db_primary:
|
||||
# image: ${{ matrix.db_engine_version }}
|
||||
# env:
|
||||
# MARIADB_ROOT_PASSWORD: msandbox
|
||||
# MYSQL_ROOT_PASSWORD: msandbox
|
||||
# ports:
|
||||
# - 3307:3306
|
||||
|
||||
db_replica1:
|
||||
image: ${{ matrix.db_engine_version }}
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: msandbox
|
||||
MYSQL_ROOT_PASSWORD: msandbox
|
||||
ports:
|
||||
- 3308:3306
|
||||
volumes:
|
||||
- ${{ github.workspace }}/tests/integration/setup_mysql/replica1/:/etc/mysql/conf.d/
|
||||
# db_replica1:
|
||||
# image: ${{ matrix.db_engine_version }}
|
||||
# env:
|
||||
# MARIADB_ROOT_PASSWORD: msandbox
|
||||
# MYSQL_ROOT_PASSWORD: msandbox
|
||||
# ports:
|
||||
# - 3308:3306
|
||||
# volumes:
|
||||
# - ${{ github.workspace }}/tests/integration/setup_mysql/replica1/:/etc/mysql/conf.d/
|
||||
|
||||
db_replica2:
|
||||
image: ${{ matrix.db_engine_version }}
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: msandbox
|
||||
MYSQL_ROOT_PASSWORD: msandbox
|
||||
ports:
|
||||
- 3309:3306
|
||||
volumes:
|
||||
- ${{ github.workspace }}/tests/integration/setup_mysql/replica2/:/etc/mysql/conf.d/
|
||||
# db_replica2:
|
||||
# image: ${{ matrix.db_engine_version }}
|
||||
# env:
|
||||
# MARIADB_ROOT_PASSWORD: msandbox
|
||||
# MYSQL_ROOT_PASSWORD: msandbox
|
||||
# ports:
|
||||
# - 3309:3306
|
||||
# volumes:
|
||||
# - ${{ github.workspace }}/tests/integration/setup_mysql/replica2/:/etc/mysql/conf.d/
|
||||
|
||||
steps:
|
||||
- name: 'Wait 20s for the service containers to be healthy'
|
||||
run:
|
||||
sleep 20;
|
||||
|
||||
- name: Send Matrix variables to the virtual machine using text files
|
||||
run: >-
|
||||
echo Setting db_engine_version to ${{ matrix.db_engine_version }}...;
|
||||
echo -n "${{ matrix.db_engine_version }}" > tests/integration/db_engine_version;
|
||||
echo Setting Connector version to ${{ matrix.connector }}...;
|
||||
echo -n "${{ matrix.connector }}" > tests/integration/connector
|
||||
|
||||
- name: >-
|
||||
Perform integration testing against
|
||||
Ansible version ${{ matrix.ansible }}
|
||||
|
@ -123,13 +130,9 @@ jobs:
|
|||
uses: ansible-community/ansible-test-gh-action@release/v1
|
||||
with:
|
||||
ansible-core-version: ${{ matrix.ansible }}
|
||||
pre-test-cmd: >-
|
||||
>&2 echo Setting db_engine_version to ${{ matrix.db_engine_version }}...;
|
||||
echo -n "${{ matrix.db_engine_version }}" > tests/integration/db_engine_version;
|
||||
>&2 echo Setting Connector version to ${{ matrix.connector }}...;
|
||||
echo -n "${{ matrix.connector }}" > tests/integration/connector
|
||||
target-python-version: ${{ matrix.python }}
|
||||
testing-type: integration
|
||||
target: test_mysql_info
|
||||
|
||||
# units:
|
||||
# runs-on: ubuntu-20.04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue