Skip to content

Commit 5f5cfe2

Browse files
committed
test setup-python 6
1 parent 8ff817d commit 5f5cfe2

2 files changed

Lines changed: 2 additions & 20 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,9 @@ runs:
2525
python-version: 3.11.x
2626
# Cache Python dependencies
2727
cache: pip
28-
29-
- name: Install Python dependencies
30-
run: |
31-
pip install -r requirements.txt
32-
shell: bash
28+
pip-install: -r requirements.txt
3329

3430
- name: Install Ansible collection dependencies
3531
run: |
3632
ansible-galaxy collection install -r requirements.yml -p ansible/collections
3733
shell: bash
38-
39-
# Install python dependencies for ansible client side
40-
- name: Install pip
41-
run: |
42-
sudo apt update
43-
sudo apt -y install python3-pip
44-
shell: bash
45-
46-
# NOTE(Alex-Welsh): This isn't the most elegant solution but there probably
47-
# isn't a better way unless we start specifying ansible_python_interpreter
48-
# everywhere. It's fine for CI purposes.
49-
- name: Install Python dependencies
50-
run: |
51-
/usr/bin/python3 -m pip install setuptools --break-system-packages
52-
shell: bash

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ansible<10
22
jmespath==0.10.0
3+
setuptools

0 commit comments

Comments
 (0)