mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 08:57:17 +00:00
test(e2e): oras binary not found locally if not installed in path (#25751)
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
This commit is contained in:
parent
5859065650
commit
0114636cdc
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ which gotestsum || go install gotest.tools/gotestsum@latest
|
|||
|
||||
TEST_RESULTS=${TEST_RESULTS:-test-results}
|
||||
TEST_FLAGS=${TEST_FLAGS:-}
|
||||
DIST_DIR=${DIST_DIR:-dist}
|
||||
|
||||
# Add DIST_DIR to PATH so binaries installed for argo are found first
|
||||
export PATH="${DIST_DIR}:${PATH}"
|
||||
|
||||
if test "${ARGOCD_TEST_PARALLELISM:-}" != ""; then
|
||||
TEST_FLAGS="$TEST_FLAGS -p $ARGOCD_TEST_PARALLELISM"
|
||||
|
|
|
|||
Loading…
Reference in a new issue