Debian Codegraph @

ansible_collections/community/ciscosmb/.github/workflows/FastCI.yml

raw
1 # README FIRST
2 # 1. If you don't have unit tests, remove that section.
3 # 2. If your collection depends on other collections ensure they are installed,
4 # add them to the "test-deps" input.
5 # 3. For the comprehensive list of the inputs supported by the
6 # ansible-community/ansible-test-gh-action GitHub Action, see
7 # https://github.com/marketplace/actions/ansible-test.
8 # 4. If you need help please ask in #ansible-community on the Libera.chat IRC
9 # network.
10
11 name: Fast CI
12 on:
13 # Run CI against all pushes
14 push:
15 branches-ignore:
16 - main
17 pull_request:
18 branches-ignore:
19 - main
20 # manual
21 workflow_dispatch:
22
23 jobs:
24 ###
25 # Sanity tests (REQUIRED)
26 #
27 # https://docs.ansible.com/ansible/latest/dev_guide/testing_sanity.html
28
29 sanity:
30 name: Sanity tests
31 runs-on: ${{ matrix.os }}
32 strategy:
33 fail-fast: false
34 matrix:
35 # Ansible Support matrix
36 # https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
37 ansible:
38 - stable-2.19
39 python:
40 - 3.13
41 os:
42 - ubuntu-24.04
43
44 steps:
45 - name: Sanity testing
46 uses: ansible-community/ansible-test-gh-action@release/v1
47 with:
48 ansible-core-version: ${{ matrix.ansible }}
49 target-python-version: ${{ matrix.python }}
50 testing-type: sanity
51 test-deps: >-
52 ansible.netcommon ansible.utils community.internal_test_tools
53 unit:
54 name: Unit tests
55 runs-on: ${{ matrix.os }}
56 strategy:
57 fail-fast: false
58 matrix:
59 # Ansible Support matrix
60 # https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
61 ansible:
62 - stable-2.19
63 python:
64 - 3.13
65 os:
66 - ubuntu-24.04
67
68 steps:
69 - name: Unit testing
70 uses: ansible-community/ansible-test-gh-action@release/v1
71 with:
72 ansible-core-version: ${{ matrix.ansible }}
73 target-python-version: ${{ matrix.python }}
74 testing-type: units
75 test-deps: >-
76 ansible.netcommon ansible.utils community.internal_test_tools