Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/certification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Run collection certification checks

permissions:
contents: read

on:
pull_request:
branches: [main]
workflow_dispatch:
schedule:
- cron: "0 6 * * *"

concurrency:
group: cert-ver-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

# Files that are not related to the core functionality
# of your collection can cause Ansible Lint to fail.
# If this happens, add a .ansible-lint file that includes
# those files and directories to the root of your
# repository; for example:
# https://github.com/ansible-collections/partner-certification-checker/blob/main/.ansible-lint

# If there are sanity test failures that cannot be fixed and are allowed to ignore
# https://docs.ansible.com/projects/lint/rules/sanity/, create a sanity ignore file
# https://docs.ansible.com/projects/ansible/devel/dev_guide/testing/sanity/ignores.html#ignore-file-location
# for each affected version of ansible-core (for example, `tests/sanity/ignore-2.18.txt`) and add corresponding entries.
jobs:
call:
uses: ansible-collections/partner-certification-checker/.github/workflows/certification-reusable.yml@v2.0.0 # zizmor: ignore[unpinned-uses]
# If the minimal Ansible Core version your collection supports Ansible
# is greater than 2.16.0, specify it below.
# You might also have to specify Python version supported by that version,
# see https://docs.ansible.com/projects/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
# with:
# ansible-core-version: '2.17.0'
# python-versions: '["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]'
# collection-root: 'ansible_collections/junipernetworks/junos'
# automation-hub: true
# Uncomment the lines below if you have 'automation-hub: true' and need to install collections from Red Hat Ansible Automation Hub.
# This requires setting a repository secret called 'AH_TOKEN' which value contains a Red Hat Ansible Automation Hub token.
# secrets:
# AH_TOKEN: ${{ secrets.AH_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/sanity_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
strategy:
matrix:
ansible:
- stable-2.17
- stable-2.18
- stable-2.19
- stable-2.20
- stable-2.21
- devel
include:
- ansible: stable-2.17
- ansible: stable-2.19
python: '3.12'
- ansible: stable-2.18
- ansible: stable-2.20
python: '3.12'
- ansible: stable-2.19
- ansible: stable-2.21
python: '3.12'
- ansible: devel
python: '3.13'
Expand Down
Loading