Skip to content

Commit d69506c

Browse files
Mahesh KumarMahesh Kumar
Mahesh Kumar
authored and
Mahesh Kumar
committed
trying parallel6
1 parent 3917a5f commit d69506c

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/pull-request-management.yml

+18-8
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,25 @@ jobs:
143143
WORKDIR /avd
144144
145145
# Create virtual env
146-
# RUN uv venv --python 3.10 UV3.10 && \
147-
# UV3.10/bin/python -m ensurepip --upgrade
148-
# RUN uv venv --python 3.11 UV3.11 && \
149-
# UV3.11/bin/python -m ensurepip --upgrade
146+
RUN uv venv --python 3.10 UV3.10 && \
147+
UV3.10/bin/python -m ensurepip --upgrade
148+
RUN uv venv --python 3.11 UV3.11 && \
149+
UV3.11/bin/python -m ensurepip --upgrade
150150
RUN uv venv --python 3.12 UV3.12 && \
151151
UV3.12/bin/python -m ensurepip --upgrade
152-
# RUN uv venv --python 3.13 UV3.13 && \
153-
# UV3.13/bin/python -m ensurepip --upgrade
152+
RUN uv venv --python 3.13 UV3.13 && \
153+
UV3.13/bin/python -m ensurepip --upgrade
154154
155+
# Activate and install requirements in parallel
156+
RUN ( \
157+
. UV3.10/bin/activate && UV3.10/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade \
158+
) & ( \
159+
. UV3.11/bin/activate && UV3.11/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade \
160+
) & ( \
161+
. UV3.12/bin/activate && UV3.12/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade \
162+
) & ( \
163+
. UV3.13/bin/activate && UV3.13/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade \
164+
) && wait
155165
# # Activate virtual env
156166
# RUN . UV3.10/bin/activate && \
157167
# UV3.10/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade
@@ -161,8 +171,8 @@ jobs:
161171
# UV3.11/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade
162172
163173
# Activate virtual env
164-
RUN . UV3.12/bin/activate && \
165-
UV3.12/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade
174+
# RUN . UV3.12/bin/activate && \
175+
# UV3.12/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade
166176
167177
# RUN parallel --link --tag 'bash -c' ::: \
168178
# ". UV3.12/bin/activate && UV3.12/bin/python -m pip install mock pytest pytest-mock pytest-xdist pyyaml 'ansible-core<2.19.0' -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade" \

0 commit comments

Comments
 (0)