@@ -143,15 +143,25 @@ jobs:
143
143
WORKDIR /avd
144
144
145
145
# 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
150
150
RUN uv venv --python 3.12 UV3.12 && \
151
151
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
154
154
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
155
165
# # Activate virtual env
156
166
# RUN . UV3.10/bin/activate && \
157
167
# 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:
161
171
# 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
162
172
163
173
# 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
166
176
167
177
# RUN parallel --link --tag 'bash -c' ::: \
168
178
# ". 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