Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 7f74acf

Browse files
committed
Fix bug converge
1 parent 5090847 commit 7f74acf

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ name: Tests
99
schedule:
1010
- cron: "0 7 * * 0"
1111

12+
defaults:
13+
run:
14+
working-directory: "staticdev.python_developer"
15+
1216
jobs:
1317
lint:
1418
name: Lint
@@ -17,7 +21,7 @@ jobs:
1721
- name: Check out the repository
1822
uses: actions/checkout@v2.4.0
1923
with:
20-
fetch-depth: 2
24+
path: "staticdev.python_developer"
2125

2226
- name: Set up Python
2327
uses: actions/setup-python@v2.3.1
@@ -47,15 +51,21 @@ jobs:
4751
- name: Check out the repository
4852
uses: actions/checkout@v2.4.0
4953
with:
50-
fetch-depth: 2
54+
path: "staticdev.python_developer"
5155

5256
- name: Set up Python
5357
uses: actions/setup-python@v2.3.1
5458
with:
5559
python-version: "3.10"
5660

61+
- name: Upgrade pip
62+
run: |
63+
python3 -m pip install --constraint=.github/workflows/constraints.txt pip
64+
python3 -m pip --version
65+
5766
- name: Install test dependencies
58-
run: pip3 install ansible molecule[docker] docker
67+
run: |
68+
python3 -m pip install --constraint=.github/workflows/constraints.txt ansible molecule[docker] docker
5969
6070
- name: Run Molecule tests
6171
run: molecule test

molecule/default/converge.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@
99
apt: update_cache=yes cache_valid_time=600
1010
when: ansible_os_family == 'Debian'
1111

12-
roles:
13-
- staticdev.python_developer
12+
tasks:
13+
- name: "Include staticdev.python_developer"
14+
include_role:
15+
name: "staticdev.python_developer"

0 commit comments

Comments
 (0)