@@ -2,11 +2,10 @@ name: Collection integration
22
33on :
44 push :
5- branches :
6- - master
5+ tags : " v*"
76 pull_request :
87 schedule :
9- - cron : 30 6 * * *
8+ - cron : 30 6 * * 2
109
1110jobs :
1211 integration-test :
@@ -19,61 +18,61 @@ jobs:
1918 fail-fast : false
2019 matrix :
2120 python-version :
22- - 3.8
21+ - 3.8
2322 group :
24- - 1
25- - 2
23+ - 1
24+ - 2
2625 ansible-branch :
27- - devel
26+ - devel
2827 container-version :
29- - 1.4.0
30- - 1.2.0
28+ - 1.4.0
29+ - 1.2.0
3130 steps :
32- - name : Check out code
33- uses : actions/checkout@v2
34- with :
35- path : ansible_collections/ngine_io/cloudstack
31+ - name : Check out code
32+ uses : actions/checkout@v2
33+ with :
34+ path : ansible_collections/ngine_io/cloudstack
3635
37- - name : Set up Python ${{ matrix.python-version }}
38- uses : actions/setup-python@v2
39- with :
40- python-version : ${{ matrix.python-version }}
36+ - name : Set up Python ${{ matrix.python-version }}
37+ uses : actions/setup-python@v2
38+ with :
39+ python-version : ${{ matrix.python-version }}
4140
42- - name : Install ansible and collection dependencies
43- run : |
44- python -m pip install --upgrade pip
45- pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-branch }}.tar.gz
46- pip install -r requirements.txt
41+ - name : Install ansible and collection dependencies
42+ run : |
43+ python -m pip install --upgrade pip
44+ pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-branch }}.tar.gz
45+ pip install -r requirements.txt
4746
48- - name : Build and install collection
49- run : |
50- ansible-galaxy collection build .
51- ansible-galaxy collection install *.gz
47+ - name : Build and install collection
48+ run : |
49+ ansible-galaxy collection build .
50+ ansible-galaxy collection install *.gz
5251
53- - name : Run the tests
54- run : >-
55- ansible-test
56- integration
57- --docker
58- -v
59- --diff
60- --color
61- --retry-on-error
62- --python ${{ matrix.python-version }}
63- --continue-on-error
64- --coverage
65- shippable/cs/group${{ matrix.group }}/
66- env :
67- ANSIBLE_CLOUDSTACK_CONTAINER : quay.io/ansible/cloudstack-test-container:${{ matrix.container-version }}
52+ - name : Run the tests
53+ run : >-
54+ ansible-test
55+ integration
56+ --docker
57+ -v
58+ --diff
59+ --color
60+ --retry-on-error
61+ --python ${{ matrix.python-version }}
62+ --continue-on-error
63+ --coverage
64+ shippable/cs/group${{ matrix.group }}/
65+ env :
66+ ANSIBLE_CLOUDSTACK_CONTAINER : quay.io/ansible/cloudstack-test-container:${{ matrix.container-version }}
6867
69- - name : Generate coverage report.
70- run : >-
71- ansible-test
72- coverage xml
73- -v
74- --requirements
75- --group-by command
76- --group-by version
77- - uses : codecov/codecov-action@v1
78- with :
79- fail_ci_if_error : false
68+ - name : Generate coverage report.
69+ run : >-
70+ ansible-test
71+ coverage xml
72+ -v
73+ --requirements
74+ --group-by command
75+ --group-by version
76+ - uses : codecov/codecov-action@v1
77+ with :
78+ fail_ci_if_error : false
0 commit comments