mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-25 14:20:24 -07:00
Enable back sanity and unit tests
This commit is contained in:
parent
23dd5a5423
commit
7a0956fdcb
1 changed files with 52 additions and 52 deletions
104
.github/workflows/ansible-test-plugins.yml
vendored
104
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -16,23 +16,23 @@ on:
|
|||
|
||||
|
||||
jobs:
|
||||
# sanity:
|
||||
# name: "Sanity (Ansible: ${{ matrix.ansible }})"
|
||||
# runs-on: ubuntu-20.04
|
||||
# strategy:
|
||||
# matrix:
|
||||
# ansible:
|
||||
# - stable-2.12
|
||||
# - stable-2.13
|
||||
# - stable-2.14
|
||||
# - devel
|
||||
# steps:
|
||||
# - name: Perform sanity testing
|
||||
# uses: ansible-community/ansible-test-gh-action@release/v1
|
||||
# with:
|
||||
# ansible-core-version: ${{ matrix.ansible }}
|
||||
# testing-type: sanity
|
||||
# pull-request-change-detection: true
|
||||
sanity:
|
||||
name: "Sanity (Ansible: ${{ matrix.ansible }})"
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
ansible:
|
||||
- stable-2.12
|
||||
- stable-2.13
|
||||
- stable-2.14
|
||||
- devel
|
||||
steps:
|
||||
- name: Perform sanity testing
|
||||
uses: ansible-community/ansible-test-gh-action@release/v1
|
||||
with:
|
||||
ansible-core-version: ${{ matrix.ansible }}
|
||||
testing-type: sanity
|
||||
pull-request-change-detection: true
|
||||
|
||||
integration:
|
||||
name: "Integration (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }}, MySQL: ${{ matrix.db_engine_version }}, Connector: ${{ matrix.connector }})"
|
||||
|
@ -426,39 +426,39 @@ jobs:
|
|||
target-python-version: ${{ matrix.python }}
|
||||
testing-type: integration
|
||||
|
||||
# units:
|
||||
# runs-on: ubuntu-20.04
|
||||
# name: Units (Ⓐ${{ matrix.ansible }})
|
||||
# strategy:
|
||||
# # As soon as the first unit test fails,
|
||||
# # cancel the others to free up the CI queue
|
||||
# fail-fast: true
|
||||
# matrix:
|
||||
# ansible:
|
||||
# - stable-2.12
|
||||
# - stable-2.13
|
||||
# - stable-2.14
|
||||
# - devel
|
||||
# python:
|
||||
# - 3.8
|
||||
# - 3.9
|
||||
# exclude:
|
||||
# - python: '3.8'
|
||||
# ansible: stable-2.13
|
||||
# - python: '3.8'
|
||||
# ansible: stable-2.14
|
||||
# - python: '3.8'
|
||||
# ansible: devel
|
||||
# - python: '3.9'
|
||||
# ansible: stable-2.12
|
||||
units:
|
||||
runs-on: ubuntu-20.04
|
||||
name: Units (Ⓐ${{ matrix.ansible }})
|
||||
strategy:
|
||||
# As soon as the first unit test fails,
|
||||
# cancel the others to free up the CI queue
|
||||
fail-fast: true
|
||||
matrix:
|
||||
ansible:
|
||||
- stable-2.12
|
||||
- stable-2.13
|
||||
- stable-2.14
|
||||
- devel
|
||||
python:
|
||||
- 3.8
|
||||
- 3.9
|
||||
exclude:
|
||||
- python: '3.8'
|
||||
ansible: stable-2.13
|
||||
- python: '3.8'
|
||||
ansible: stable-2.14
|
||||
- python: '3.8'
|
||||
ansible: devel
|
||||
- python: '3.9'
|
||||
ansible: stable-2.12
|
||||
|
||||
# steps:
|
||||
# - name: >-
|
||||
# Perform unit testing against
|
||||
# Ansible version ${{ matrix.ansible }}
|
||||
# uses: ansible-community/ansible-test-gh-action@release/v1
|
||||
# with:
|
||||
# ansible-core-version: ${{ matrix.ansible }}
|
||||
# target-python-version: ${{ matrix.python }}
|
||||
# testing-type: units
|
||||
# pull-request-change-detection: true
|
||||
steps:
|
||||
- name: >-
|
||||
Perform unit testing against
|
||||
Ansible version ${{ matrix.ansible }}
|
||||
uses: ansible-community/ansible-test-gh-action@release/v1
|
||||
with:
|
||||
ansible-core-version: ${{ matrix.ansible }}
|
||||
target-python-version: ${{ matrix.python }}
|
||||
testing-type: units
|
||||
pull-request-change-detection: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue