mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-28 08:51:46 -07:00
40 lines
953 B
YAML
40 lines
953 B
YAML
name: Plugins CI
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'plugins/**'
|
|
- 'tests/**'
|
|
- '.github/workflows/ansible-test-plugins.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'plugins/**'
|
|
- 'tests/**'
|
|
- '.github/workflows/ansible-test-plugins.yml'
|
|
schedule:
|
|
- cron: '0 6 * * *'
|
|
|
|
|
|
env:
|
|
mysql_version_file: "./ansible_collections/community/mysql/tests/integration/targets/setup_mysql/defaults/main.yml"
|
|
connector_version_file: "./ansible_collections/community/mysql/tests/integration/targets/setup_mysql/vars/main.yml"
|
|
|
|
jobs:
|
|
sanity:
|
|
name: "Sanity (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }})"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
path: ansible_collections/community/mysql
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
|
|
- name: Dump ENV
|
|
run: env
|
|
|
|
|