Skip to content

Sanity checks

Sanity checks #938

Workflow file for this run

---
name: Sanity checks
on:
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
push:
pull_request:
# 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 * * *'
env:
NAMESPACE: sva
COLLECTION_NAME: sentinelone
#ANSIBLE_TEST_PREFER_PODMAN: 1
jobs:
sanity:
name: Sanity (Ⓐ${{ matrix.ansible }}+py${{ matrix.python }})
strategy:
matrix:
ansible:
- stable-2.14
- stable-2.15
- stable-2.16
python:
- '3.9'
- '3.10'
- '3.11'
exclude:
- ansible: stable-2.16
python: '3.9'
include:
- ansible: stable-2.16
python: '3.12'
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Perform sanity testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: ${{ matrix.ansible }}
target-python-version: ${{ matrix.python }}
testing-type: sanity