[ 
https://issues.apache.org/jira/browse/BEAM-10701?focusedWorklogId=474960&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-474960
 ]

ASF GitHub Bot logged work on BEAM-10701:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Aug/20 18:47
            Start Date: 26/Aug/20 18:47
    Worklog Time Spent: 10m 
      Work Description: udim commented on a change in pull request #12684:
URL: https://github.com/apache/beam/pull/12684#discussion_r477513047



##########
File path: .github/codecov.yml
##########
@@ -0,0 +1,54 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Test using:
+#   curl --data-binary @.github/codecov.yml https://codecov.io/validate
+#
+# https://docs.codecov.io/docs/codecovyml-reference
+codecov:
+  require_ci_to_pass: no
+
+coverage:
+  precision: 2
+  round: down
+  range: "70...100"
+  # Add status message to PRs.
+  status:
+    project:
+      python:
+        target: auto
+        threshold: 5%
+        base: auto
+        paths:
+          - "sdks/python"
+
+parsers:
+  gcov:
+    branch_detection:
+      conditional: yes
+      loop: yes
+      method: no
+      macro: no
+
+# Do not comment on PRs.

Review comment:
       It used used to be spammy (1 message per push), but now it seems to be 
editing the original message so not that bad.
   I am reconsidering.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 474960)
    Time Spent: 1h 50m  (was: 1h 40m)

> Add Codecov YAML
> ----------------
>
>                 Key: BEAM-10701
>                 URL: https://issues.apache.org/jira/browse/BEAM-10701
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Saavan Nanavati
>            Priority: P2
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> This will fix path resolution errors and allow the code coverage reports to 
> successfully upload to Codecov.
>  
> The reports can be seen at the following URL: 
> [https://codecov.io/gh/apache/beam]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to