Release 1.0.0 (#5) #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
# Run CI once per day (at 06:00 UTC) | |
# This ensures that even if there haven't been commits that we are still testing against latest version of ansible-test for each ansible-base version | |
schedule: | |
- cron: '0 6 * * *' | |
jobs: | |
sanity: | |
name: Sanity (${{ matrix.ansible }}) | |
strategy: | |
matrix: | |
ansible: | |
- stable-2.10 | |
- stable-2.11 | |
- stable-2.12 | |
- stable-2.13 | |
- stable-2.14 | |
- stable-2.15 | |
- stable-2.16 | |
- devel | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
exclude: | |
- ansible: stable-2.10 | |
python-version: '3.10' | |
- ansible: stable-2.10 | |
python-version: '3.11' | |
- ansible: stable-2.10 | |
python-version: '3.12' | |
- ansible: stable-2.11 | |
python-version: '3.10' | |
- ansible: stable-2.11 | |
python-version: '3.11' | |
- ansible: stable-2.11 | |
python-version: '3.12' | |
- ansible: stable-2.12 | |
python-version: '3.11' | |
- ansible: stable-2.12 | |
python-version: '3.12' | |
- ansible: stable-2.13 | |
python-version: '3.11' | |
- ansible: stable-2.13 | |
python-version: '3.12' | |
- ansible: stable-2.14 | |
python-version: '3.8' | |
- ansible: stable-2.14 | |
python-version: '3.12' | |
- ansible: stable-2.15 | |
python-version: '3.8' | |
- ansible: stable-2.15 | |
python-version: '3.12' | |
- ansible: stable-2.16 | |
python-version: '3.8' | |
- ansible: stable-2.16 | |
python-version: '3.9' | |
- ansible: devel | |
python-version: '3.8' | |
- ansible: devel | |
python-version: '3.9' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v1 | |
with: | |
path: ansible_collections/kaytus/ksmanage | |
- name: Set up Python (${{ matrix.python-version }}) | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install ansible-base (${{ matrix.ansible }}) | |
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check | |
- name: Run sanity tests | |
run: ansible-test sanity --docker -v --color |