Skip to content

feat: add folding config #160

feat: add folding config

feat: add folding config #160

Workflow file for this run

name: Tests
on:
push:
branches:
- '*'
tags:
- '*'
paths-ignore:
- '**.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
include:
# python 3.6
- python-version: '3.6'
ansible-version: '2.10.7'
- python-version: '3.6'
ansible-version: '3.4.0'
- python-version: '3.6'
ansible-version: '4.10.0'
# python 3.7
- python-version: '3.7'
ansible-version: '2.10.7'
- python-version: '3.7'
ansible-version: '3.4.0'
- python-version: '3.7'
ansible-version: '4.10.0'
# python 3.8
- python-version: '3.8'
ansible-version: '3.4.0'
- python-version: '3.8'
ansible-version: '4.10.0'
- python-version: '3.8'
ansible-version: '5.4.0'
- python-version: '3.8'
ansible-version: '6.7.0'
# python 3.9
- python-version: '3.9'
ansible-version: '4.10.0'
- python-version: '3.9'
ansible-version: '5.4.0'
- python-version: '3.9'
ansible-version: '6.7.0'
- python-version: '3.9'
ansible-version: '7.7.0'
# python 3.10
- python-version: '3.10'
ansible-version: '6.7.0'
- python-version: '3.10'
ansible-version: '7.7.0'
- python-version: '3.10'
ansible-version: '8.7.0'
- python-version: '3.10'
ansible-version: '9.7.0'
# python 3.11
- python-version: '3.11'
ansible-version: '6.7.0'
- python-version: '3.11'
ansible-version: '7.7.0'
- python-version: '3.11'
ansible-version: '8.7.0'
- python-version: '3.11'
ansible-version: '9.7.0'
# python 3.12
- python-version: '3.12'
ansible-version: '6.7.0'
- python-version: '3.12'
ansible-version: '7.7.0'
- python-version: '3.12'
ansible-version: '8.7.0'
- python-version: '3.12'
ansible-version: '9.7.0'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: sudo apt-get install -y figlet stow
- name: Install ansible ${{ matrix.ansible-version }}
run: |
sudo apt-get purge --auto-remove ansible
pip install "ansible==${{ matrix.ansible-version }}" --force-reinstall
- name: Versions
run: |
ansible --version
stow --version
- name: Run tests
run: |
cd tests
./test.sh