Skip to content

Commit f6ee8d5

Browse files
authored
improve ci (#34)
1 parent 6c6348c commit f6ee8d5

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/workflows/integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
integration-test:
1313
name: Integration test group${{matrix.group}} Py${{ matrix.python-version }}
14+
defaults:
15+
run:
16+
working-directory: ansible_collections/ngine_io/cloudstack
1417
runs-on: ubuntu-latest
1518
strategy:
1619
fail-fast: false
@@ -23,12 +26,12 @@ jobs:
2326
- 2
2427
steps:
2528
- name: Check out code
26-
uses: actions/checkout@v1
29+
uses: actions/checkout@v2
2730
with:
2831
path: ansible_collections/ngine_io/cloudstack
2932

3033
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v1
34+
uses: actions/setup-python@v2
3235
with:
3336
python-version: ${{ matrix.python-version }}
3437

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
defaults:
11+
run:
12+
working-directory: ansible_collections/ngine_io/cloudstack
1013
steps:
11-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2
1215
with:
1316
path: ansible_collections/ngine_io/cloudstack
1417
- name: Set up Python

.github/workflows/sanity.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
jobs:
66
sanity:
77
name: Sanity (${{ matrix.ansible }})
8+
defaults:
9+
run:
10+
working-directory: ansible_collections/ngine_io/cloudstack
811
strategy:
912
matrix:
1013
ansible:
@@ -13,16 +16,15 @@ jobs:
1316
- devel
1417
runs-on: ubuntu-latest
1518
steps:
16-
1719
- name: Check out code
18-
uses: actions/checkout@v1
20+
uses: actions/checkout@v2
1921
with:
2022
path: ansible_collections/ngine_io/cloudstack
2123

22-
- name: Set up Python 3.6
23-
uses: actions/setup-python@v1
24+
- name: Set up Python
25+
uses: actions/setup-python@v2
2426
with:
25-
python-version: 3.6
27+
python-version: '3.x'
2628

2729
- name: Install ansible-base (${{ matrix.ansible }})
2830
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check

0 commit comments

Comments
 (0)