Skip to content

Commit 40efd35

Browse files
authored
Update smoke-tests.yml
1 parent de19a70 commit 40efd35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/smoke-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ jobs:
183183
sudo killall -SIGINT MtlManager || true
184184
185185
- name: 'preparation: Create VFs'
186+
working-directory: '${{ env.CONCURRENCY_GROUP }}/mtl'
186187
run: |
187188
sudo rmmod irdma || true
188189
sudo ./script/nicctl.sh create_vf "${TEST_PF_PORT_P}" || true
@@ -201,13 +202,15 @@ jobs:
201202
pipenv install -r requirements.txt
202203
203204
- name: 'preparation: Start MtlManager at background'
205+
working-directory: '${{ env.CONCURRENCY_GROUP }}/mtl'
204206
run: |
205207
sudo MtlManager &
206208
207209
- name: 'execution: Run validation-bare-metal tests in virtual environment'
208210
working-directory: '${{ env.CONCURRENCY_GROUP }}/mtl/tests/validation'
209211
run: |
210-
sudo pipenv run pytest --topology_config=configs/topology_config.yaml --test_config=configs/test_config.yaml -m smoke --template=html/index.html --report=report.html
212+
ln -s "./../../script" "./script" && \
213+
sudo -E pipenv run pytest --topology_config=configs/topology_config.yaml --test_config=configs/test_config.yaml -m smoke --template=html/index.html --report=report.html
211214
212215
- name: "post-run: Upload report as an artifact"
213216
id: upload-report

0 commit comments

Comments
 (0)