mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-08 11:40:33 -07:00
enabled integration pipeline
This commit is contained in:
parent
e4faab0e57
commit
b541784bb3
1 changed files with 43 additions and 43 deletions
86
.github/workflows/ansible-test-plugins.yml
vendored
86
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -49,46 +49,46 @@ jobs:
|
||||||
run: ansible-test sanity --docker -v --color
|
run: ansible-test sanity --docker -v --color
|
||||||
working-directory: ./ansible_collections/community/mysql
|
working-directory: ./ansible_collections/community/mysql
|
||||||
|
|
||||||
# integration:
|
integration:
|
||||||
# name: "Integration (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }}, MySQL: ${{ matrix.mysql }})"
|
name: "Integration (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }}, MySQL: ${{ matrix.mysql }})"
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# strategy:
|
strategy:
|
||||||
# fail-fast: false
|
fail-fast: false
|
||||||
# matrix:
|
matrix:
|
||||||
# mysql:
|
mysql:
|
||||||
# - 2.0.12
|
- 8.0.20
|
||||||
# ansible:
|
ansible:
|
||||||
# - stable-2.9
|
- stable-2.9
|
||||||
# - stable-2.10
|
- stable-2.10
|
||||||
# - devel
|
- devel
|
||||||
# python:
|
python:
|
||||||
# - 3.6
|
- 3.6
|
||||||
# steps:
|
steps:
|
||||||
#
|
|
||||||
# - name: Check out code
|
- name: Check out code
|
||||||
# uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
# with:
|
with:
|
||||||
# path: ansible_collections/community/mysql
|
path: ansible_collections/community/mysql
|
||||||
#
|
|
||||||
# - name: Set up Python ${{ matrix.python }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
# uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
# with:
|
with:
|
||||||
# python-version: ${{ matrix.python }}
|
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
|
||||||
#
|
|
||||||
# - name: Set MySQL version (${{ matrix.mysql }})
|
- name: Set MySQL version (${{ matrix.mysql }})
|
||||||
# run: "sed -i 's/^mysql_version:.*/mysql_version: \"${{ matrix.mysql }}\"/g' ${{ env.mysql_version_file }}"
|
run: "sed -i 's/^mysql_version:.*/mysql_version: \"${{ matrix.mysql }}\"/g' ${{ env.mysql_version_file }}"
|
||||||
#
|
|
||||||
# - name: Run integration tests
|
- name: Run integration tests
|
||||||
# run: ansible-test integration --docker -v --color --retry-on-error --continue-on-error --python ${{ matrix.python }} --diff --coverage
|
run: ansible-test integration --docker -v --color --retry-on-error --continue-on-error --python ${{ matrix.python }} --diff --coverage
|
||||||
# working-directory: ./ansible_collections/community/mysql
|
working-directory: ./ansible_collections/community/mysql
|
||||||
#
|
|
||||||
# - name: Generate coverage report.
|
- name: Generate coverage report.
|
||||||
# run: ansible-test coverage xml -v --requirements --group-by command --group-by version
|
run: ansible-test coverage xml -v --requirements --group-by command --group-by version
|
||||||
# working-directory: ./ansible_collections/community/mysql
|
working-directory: ./ansible_collections/community/mysql
|
||||||
#
|
|
||||||
# - uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
# with:
|
with:
|
||||||
# fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue