mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-03-07 10:05:18 +01:00
ci: add certification.yml GitHub workflow (#705)
This commit is contained in:
parent
2cd1a6e4ab
commit
aece4a9632
2 changed files with 39 additions and 0 deletions
|
|
@ -7,5 +7,9 @@ skip_list:
|
||||||
- meta-runtime[unsupported-version] # This rule doesn't make any sense
|
- meta-runtime[unsupported-version] # This rule doesn't make any sense
|
||||||
- fqcn[deep] # This rule produces false positives for files in tests/unit/plugins/action/fixtures/
|
- fqcn[deep] # This rule produces false positives for files in tests/unit/plugins/action/fixtures/
|
||||||
- sanity[cannot-ignore] # This rule is skipped to keep backward compatibility with Python 2
|
- sanity[cannot-ignore] # This rule is skipped to keep backward compatibility with Python 2
|
||||||
|
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
- changelogs/
|
- changelogs/
|
||||||
|
- .github/
|
||||||
|
- tests/
|
||||||
|
- meta/
|
||||||
|
|
|
||||||
35
.github/workflows/certification.yml
vendored
Normal file
35
.github/workflows/certification.yml
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
# This workflow calls the latest version of the
|
||||||
|
# reusable workflow.
|
||||||
|
# You can copy this file into your respository if
|
||||||
|
# you want to check against pinned versions of
|
||||||
|
# Automation Hub tests.
|
||||||
|
name: Run collection certification checks
|
||||||
|
|
||||||
|
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 an .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
|
||||||
|
# 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@v0.1
|
||||||
Loading…
Reference in a new issue