File tree Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ pytest-xdist
88pytest-cov
99line_profiler
1010isort
11+ codecov-cli
Original file line number Diff line number Diff line change @@ -34,18 +34,6 @@ steps:
3434 echo "Spack version is $(spack --version)"
3535 echo "Python version is $(python3 --version)"
3636
37- if [[ "$_PUSH_CODECOV" ]]; then
38- # This could be pushed into the image, but is recommended as a runtime step
39- curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
40- curl -Os https://cli.codecov.io/latest/linux/codecov
41- curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM
42- curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
43- gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM
44-
45- sha256sum -c codecov.SHA256SUM
46- chmod +x codecov
47- fi
48-
4937 UNIT_TEST_COVERAGE=true LONG=true /workspace/share/ramble/qa/run-unit-tests
5038 # $$ characters are required for cloud-build:
5139 # https://cloud.google.com/build/docs/configuring-builds/substitute-variable-values
Original file line number Diff line number Diff line change @@ -73,13 +73,9 @@ if [ $? != 0 ]; then
7373 ERROR=1
7474fi
7575
76-
77- echo $PUSH_CODECOV
7876if [[ " $PUSH_CODECOV " ]]; then
7977 echo " Processing codecov upload"
80- # TODO: this must be in path somehow. What is the best way?
81- export PATH=$PATH :/workspace/
82- codecov upload-process
78+ codecovcli upload-process
8379fi
8480
8581if [ $ERROR == 1 ]; then
You can’t perform that action at this time.
0 commit comments