@@ -3,7 +3,7 @@ name: Collection integration
33on :
44 push :
55 schedule :
6- - cron : 31 6 * * * # Run weekly
6+ - cron : 31 6 * * 2 # Run weekly
77
88jobs :
99 integration-test :
@@ -16,59 +16,59 @@ jobs:
1616 fail-fast : false
1717 matrix :
1818 runner-python-version :
19- - 3.6
19+ - 3.6
2020 python-version :
21- - 3.6
22- - 2.7
21+ - 3.6
22+ - 2.7
2323 steps :
24- - name : Check out code
25- uses : actions/checkout@v2
26- with :
27- path : ansible_collections/ngine_io/vultr
24+ - name : Check out code
25+ uses : actions/checkout@v2
26+ with :
27+ path : ansible_collections/ngine_io/vultr
2828
29- - name : Set up Python ${{ matrix.python-version }}
30- uses : actions/setup-python@v1
31- with :
32- python-version : ${{ matrix.python-version }}
29+ - name : Set up Python ${{ matrix.python-version }}
30+ uses : actions/setup-python@v1
31+ with :
32+ python-version : ${{ matrix.python-version }}
3333
34- - name : Install ansible and collection dependencies
35- run : |
36- python -m pip install --upgrade pip
37- pip install ansible
34+ - name : Install ansible and collection dependencies
35+ run : |
36+ python -m pip install --upgrade pip
37+ pip install ansible
3838
39- - name : Build and install collection
40- run : |
41- ansible-galaxy collection build .
42- ansible-galaxy collection install *.gz
39+ - name : Build and install collection
40+ run : |
41+ ansible-galaxy collection build .
42+ ansible-galaxy collection install *.gz
4343
44- - name : Add config file
45- env :
46- CONFIG_FILE : ${{ secrets.CONFIG_FILE }}
47- run : |
48- echo "$CONFIG_FILE" > tests/integration/cloud-config-vultr.ini
44+ - name : Add config file
45+ env :
46+ CONFIG_FILE : ${{ secrets.CONFIG_FILE }}
47+ run : |
48+ echo "$CONFIG_FILE" > tests/integration/cloud-config-vultr.ini
4949
50- - name : Run the tests
51- run : >-
52- ansible-test
53- integration
54- --docker
55- -v
56- --diff
57- --color
58- --retry-on-error
59- --python ${{ matrix.python-version }}
60- --continue-on-error
61- --coverage
62- smoke/vultr/
50+ - name : Run the tests
51+ run : >-
52+ ansible-test
53+ integration
54+ --docker
55+ -v
56+ --diff
57+ --color
58+ --retry-on-error
59+ --python ${{ matrix.python-version }}
60+ --continue-on-error
61+ --coverage
62+ smoke/vultr/
6363
64- - name : Generate coverage report
65- run : >-
66- ansible-test
67- coverage xml
68- -v
69- --requirements
70- --group-by command
71- --group-by version
72- - uses : codecov/codecov-action@v1
73- with :
74- fail_ci_if_error : false
64+ - name : Generate coverage report
65+ run : >-
66+ ansible-test
67+ coverage xml
68+ -v
69+ --requirements
70+ --group-by command
71+ --group-by version
72+ - uses : codecov/codecov-action@v1
73+ with :
74+ fail_ci_if_error : false
0 commit comments