diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..76b6841 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,25 @@ +codecov: + branch: main + require_ci_to_pass: yes + notify: + wait_for_ci: yes + +coverage: + range: 80...100 + precision: 3 + round: down + +ignore: + - "EmpowerPlantTests/*" + +comment: + layout: "reach,diff,flags,files,footer" + # Update, if comment exists. Otherwise post new. + behavior: default + # Comments will only post when coverage changes. Furthermore, if a comment + # already exists, and a newer commit results in no coverage change for the + # entire pull, the comment will be deleted. + require_changes: true + require_base: yes # must have a base report to post + require_head: yes # must have a head report to post + diff --git a/EmpowerPlant.xcodeproj/project.pbxproj b/EmpowerPlant.xcodeproj/project.pbxproj index be5a210..22c682f 100644 --- a/EmpowerPlant.xcodeproj/project.pbxproj +++ b/EmpowerPlant.xcodeproj/project.pbxproj @@ -46,6 +46,7 @@ 846BEA1B2ABE611A0032F77F /* mobydick.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = mobydick.txt; sourceTree = ""; }; 8474F0482ACCE2D800F21E06 /* deploy_project.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = deploy_project.sh; sourceTree = ""; }; 8474F04D2ACE54F300F21E06 /* .github */ = {isa = PBXFileReference; lastKnownFileType = folder; path = .github; sourceTree = ""; }; + 848A45262BBFC79E006AAAEC /* .codecov.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .codecov.yml; sourceTree = ""; }; 84A264182AA9155800A62A88 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; 84A264192AA915B100A62A88 /* Brewfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Brewfile; sourceTree = ""; }; 84A2641B2AA915D800A62A88 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; @@ -107,6 +108,7 @@ 840B7EF12BBF3C70008B8120 /* .slather.yml */, 84A264192AA915B100A62A88 /* Brewfile */, 84A264182AA9155800A62A88 /* Makefile */, + 848A45262BBFC79E006AAAEC /* .codecov.yml */, 84A2641B2AA915D800A62A88 /* README.md */, D17C73B127D8291D006650AF /* EmpowerPlant */, 8BA3AB2D2A201FE900BE1EA8 /* EmpowerPlantTests */,