File tree Expand file tree Collapse file tree 3 files changed +38
-46
lines changed Expand file tree Collapse file tree 3 files changed +38
-46
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,26 @@ jobs:
27
27
ansible-collections-path : " ./ansible_collections/scaleway/scaleway"
28
28
29
29
steps :
30
- - name : Setup Ansible environment
31
- uses : ./.github/workflows/ansible-tests.yml
30
+ - name : Create directory
31
+ run : |
32
+ mkdir -p ${{ env.ansible-collections-path }}
33
+
34
+ - name : Checkout the repo
35
+ uses : actions/checkout@v4
36
+ with :
37
+ path : ${{ env.ansible-collections-path }}
38
+
39
+ - name : Setup Python and install ansible
40
+ uses : actions/setup-python@v5
32
41
with :
33
- ansible-version : ${{ matrix.ansible-version }}
34
- ansible-collection-path : ${{ env.ansible-collections-path }}
42
+ python-version : 3.11
43
+
44
+ - name : Install ansible
45
+ run : |
46
+ python -m pip install \
47
+ https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz \
48
+ --disable-pip-version-check
49
+
35
50
- name : Create scw config
36
51
run : |
37
52
mkdir -p $HOME/.config/scw
41
56
default_region: ${{ secrets.SCW_DEFAULT_REGION }}
42
57
default_project_id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
43
58
EOF
59
+
44
60
- name : Run integration tests with ansible ${{ matrix.ansible-version }}
45
61
working-directory : ${{ env.ansible-collections-path }}
46
62
run : |
Original file line number Diff line number Diff line change @@ -26,11 +26,25 @@ jobs:
26
26
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - name : Setup Ansible environment
30
- uses : ./.github/workflows/ansible-tests.yml
29
+ - name : Create directory
30
+ run : |
31
+ mkdir -p ${{ env.ansible-collections-path }}
32
+
33
+ - name : Checkout the repo
34
+ uses : actions/checkout@v4
35
+ with :
36
+ path : ${{ env.ansible-collections-path }}
37
+
38
+ - name : Setup Python and install ansible
39
+ uses : actions/setup-python@v5
31
40
with :
32
- ansible-version : ${{ matrix.ansible-version }}
33
- ansible-collection-path : ${{ env.ansible-collections-path }}
41
+ python-version : 3.11
42
+
43
+ - name : Install ansible
44
+ run : |
45
+ python -m pip install \
46
+ https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz \
47
+ --disable-pip-version-check
34
48
35
49
- name : Run integration tests with ansible ${{ matrix.ansible-version }}
36
50
working-directory : ${{ env.ansible-collections-path }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments