diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/qa/run-shell-tests | 6 | ||||
-rwxr-xr-x | share/spack/qa/run-unit-tests | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/share/spack/qa/run-shell-tests b/share/spack/qa/run-shell-tests index 83838ff5ef..22bf4b8aba 100755 --- a/share/spack/qa/run-shell-tests +++ b/share/spack/qa/run-shell-tests @@ -56,3 +56,9 @@ fish "$QA_DIR/setup-env-test.fish" # run csh and tcsh tests csh "$QA_DIR/setup-env-test.csh" tcsh "$QA_DIR/setup-env-test.csh" + +# Delete the symlink going from ./lib/spack/docs/_spack_root back to +# the initial directory, since it causes ELOOP errors with codecov/actions@2 +if [[ "$COVERAGE" == "true" ]]; then + rm lib/spack/docs/_spack_root +fi diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests index 8384edee0c..935b1905d1 100755 --- a/share/spack/qa/run-unit-tests +++ b/share/spack/qa/run-unit-tests @@ -48,3 +48,10 @@ if [[ "$ONLY_PACKAGES" == "true" ]]; then fi $coverage_run $(which spack) unit-test -x --verbose + +# Delete the symlink going from ./lib/spack/docs/_spack_root back to +# the initial directory, since it causes ELOOP errors with codecov/actions@2 +if [[ "$COVERAGE" == "true" ]]; then + rm lib/spack/docs/_spack_root +fi + |