Skip to content

Commit a577a51

Browse files
authored
Update validation-tests.yml
1 parent b62efc1 commit a577a51

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/validation-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
validation-build-mtl:
3535
runs-on: [Linux, self-hosted, DPDK]
3636
timeout-minutes: 60
37-
37+
outputs:
38+
pipenv-activate: ${{ steps.pipenv-install.outputs.VIRTUAL_ENV }}
3839
steps:
3940
- name: Harden Runner
4041
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -77,6 +78,7 @@ jobs:
7778
7879
- name: Prepare pipenv environment
7980
working-directory: tests/validation
81+
id: pipenv-install
8082
run: |
8183
sudo apt remove -y pipenv || true
8284
sudo apt install -y python3-virtualenv python3-pip
@@ -87,6 +89,8 @@ jobs:
8789
validation-run-tests:
8890
needs: [validation-build-mtl]
8991
runs-on: [Linux, self-hosted, DPDK]
92+
env:
93+
VIRTUAL_ENV: ${{ needs.validation-build-mtl.outputs.pipenv-activate }}
9094
steps:
9195
- name: Harden Runner
9296
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1

0 commit comments

Comments
 (0)