mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-17 16:01:25 -07:00
Do not run same sanity tests twice (#36)
* Do not run same sanity tests twice. * Fix test config.
This commit is contained in:
parent
94b383a6dc
commit
1538b9d946
1 changed files with 6 additions and 9 deletions
15
.github/workflows/ansible-test-plugins.yml
vendored
15
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -4,12 +4,12 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- 'plugins/**'
|
- 'plugins/**'
|
||||||
- 'tests/**'
|
- 'tests/**'
|
||||||
- '.github/workflows/ansible-test.yml'
|
- '.github/workflows/ansible-test-plugins.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'plugins/**'
|
- 'plugins/**'
|
||||||
- 'tests/**'
|
- 'tests/**'
|
||||||
- '.github/workflows/ansible-test.yml'
|
- '.github/workflows/ansible-test-plugins.yml'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 * * *'
|
- cron: '0 6 * * *'
|
||||||
|
|
||||||
|
@ -27,9 +27,6 @@ jobs:
|
||||||
- stable-2.9
|
- stable-2.9
|
||||||
- stable-2.10
|
- stable-2.10
|
||||||
- devel
|
- devel
|
||||||
python:
|
|
||||||
- 2.7
|
|
||||||
- 3.8
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
@ -37,10 +34,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: ansible_collections/community/mysql
|
path: ansible_collections/community/mysql
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python }}
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: 3.8
|
||||||
|
|
||||||
- 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
|
||||||
|
@ -71,10 +68,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: ansible_collections/community/mysql
|
path: ansible_collections/community/mysql
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python }}
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: 3.8
|
||||||
|
|
||||||
- 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
Add a link
Reference in a new issue