Skip to content

Commit

Permalink
Merge pull request #1460 from marshallward/codecov_io_path_fix
Browse files Browse the repository at this point in the history
Fix to codecov file path search
  • Loading branch information
adcroft authored Aug 5, 2021
2 parents 49aa47d + 508fbf4 commit ffe1900
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,10 @@ work/%/$(1)/ocean.stats work/%/$(1)/chksum_diag: build/$(2)/MOM6 $(VENV_PATH)
@echo -e "$(DONE): $$*.$(1); no runtime errors."
if [ $(3) ]; then \
mkdir -p results/$$* ; \
bash <(curl -s https://codecov.io/bash) -n $$@ \
> work/$$*/codecov.$(1).out \
2> work/$$*/codecov.$(1).err \
cd build/symmetric \
&& bash <(curl -s https://codecov.io/bash) -Z -n $$@ \
> codecov.$$*.$(1).out \
2> codecov.$$*.$(1).err \
&& echo -e "${MAGENTA}Report uploaded to codecov.${RESET}"; \
fi
endef
Expand Down

0 comments on commit ffe1900

Please sign in to comment.