Skip to content

Sanity tests

Sanity tests #1112

Workflow file for this run

name: Sanity tests
on:
schedule:
- cron: "32 5 * * *"
pull_request:
jobs:
sanity:
name: Sanity tests (${{ matrix.ansible }})
defaults:
run:
working-directory: ansible_collections/cloudscale_ch/cloud
strategy:
matrix:
ansible:
- stable-2.15
- stable-2.16
- stable-2.17
- devel
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
path: ansible_collections/cloudscale_ch/cloud
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: '3.11'
- 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