summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-07-24 13:23:56 +0200
committerGitHub <noreply@github.com>2021-07-24 07:23:56 -0400
commita30e6c61582b55ec4cff1d9d885a0acec9a0ec3c (patch)
tree529574ff0a6e5cf2eb8a92bd1b153b1766c7e4c2 /share
parentbb20cadd91d6d132d71a603f6cc2084971e73183 (diff)
downloadspack-a30e6c61582b55ec4cff1d9d885a0acec9a0ec3c.tar.gz
spack-a30e6c61582b55ec4cff1d9d885a0acec9a0ec3c.tar.bz2
spack-a30e6c61582b55ec4cff1d9d885a0acec9a0ec3c.tar.xz
spack-a30e6c61582b55ec4cff1d9d885a0acec9a0ec3c.zip
Bump codecov/action to v2.0.2 (#24983)
* build(deps): bump codecov/codecov-action from 1 to 2.0.1 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.0.1. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v1...v2.0.1) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update arguments to codecov action * Try to delete the symbolic link to root folder Hopefully this should get rid of the ELOOP error * Delete also for shell tests and MacOS * Bump to v2.0.2 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-shell-tests6
-rwxr-xr-xshare/spack/qa/run-unit-tests7
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
+