diff --git a/collection/stages/roles/egressip_tests/tasks/run_egressip_tests.yml b/collection/stages/roles/egressip_tests/tasks/run_egressip_tests.yml index b464da89..9373b0b1 100644 --- a/collection/stages/roles/egressip_tests/tasks/run_egressip_tests.yml +++ b/collection/stages/roles/egressip_tests/tasks/run_egressip_tests.yml @@ -36,6 +36,14 @@ allowlist_path: "{{ egressip_test_results_dir }}/allowlist.txt" tests_to_run_path: "{{ egressip_test_results_dir }}/list_of_tests_to_run.txt" +- name: Download Go module dependencies before build + ansible.builtin.shell: | + source {{ home_dir }}/.bashrc + go mod download + args: + chdir: "{{ egressip_test_dir }}" + changed_when: true + - name: Build extended-platform-tests executable ansible.builtin.shell: | source {{ home_dir }}/.bashrc