Commit a55345f 1 parent 236076a commit a55345f Copy full SHA for a55345f
File tree 1 file changed +22
-11
lines changed
1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,22 @@ jobs:
16
16
- name : Checkout
17
17
uses : actions/checkout@v3
18
18
19
+ - name : Install uv
20
+ uses : astral-sh/setup-uv@v5
21
+
19
22
- name : Set up Python
20
- uses : actions/setup-python@v2
21
- with :
22
- python-version : ' 3.x'
23
+ run : uv python install
23
24
24
- - name : Install dependencies.
25
- run : pip install -r requirements.txt
25
+ - name : Install dependencies
26
+ run : |
27
+ uv -q venv --allow-existing --seed .venv
28
+ . .venv/bin/activate
29
+ uv -q pip install -r requirements.txt
26
30
27
31
- name : Run ansible-lint
28
- run : " ansible-lint"
32
+ run : |
33
+ . .venv/bin/activate
34
+ ansible-lint
29
35
30
36
molecule :
31
37
strategy :
@@ -36,15 +42,20 @@ jobs:
36
42
- name : Checkout
37
43
uses : actions/checkout@v3
38
44
45
+ - name : Install uv
46
+ uses : astral-sh/setup-uv@v5
47
+
39
48
- name : Set up Python
40
- uses : actions/setup-python@v2
41
- with :
42
- python-version : ' 3.x'
49
+ run : uv python install
43
50
44
51
- name : Install dependencies.
45
52
run : |
46
- pip install -r requirements.txt
53
+ uv -q venv --allow-existing --seed .venv
54
+ . .venv/bin/activate
55
+ uv -q pip install -r requirements.txt
47
56
ansible-galaxy install -r requirements.yml
48
57
49
58
- name : Run molecule
50
- run : molecule test -p ${{ matrix.os }}
59
+ run : |
60
+ . .venv/bin/activate
61
+ molecule test -p ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments