parent
c9c43260c9
commit
71c48692da
@ -0,0 +1,19 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# If a command fails then do not proceed and fail this script too.
|
||||
set -ex
|
||||
|
||||
# Get token for uploading to codecov and append it to codecov.yml
|
||||
python automation/taskcluster/helper/get-secret.py \
|
||||
-s project/mobile/fenix/pr \
|
||||
-k codecov \
|
||||
-f .cc_token \
|
||||
|
||||
# Set some environment variables that will help codecov detect the CI
|
||||
export CI_BUILD_URL="https://tools.taskcluster.net/tasks/$TASK_ID"
|
||||
|
||||
# Execute codecov script for uploading report
|
||||
# bash <(curl -s https://codecov.io/bash)
|
||||
bash <(curl -s https://codecov.io/bash) -t @.cc_token
|
@ -0,0 +1,8 @@
|
||||
codecov:
|
||||
ci:
|
||||
- tools.taskcluster.net
|
||||
|
||||
coverage:
|
||||
precision: 2
|
||||
round: down
|
||||
range: 60..80
|
Loading…
Reference in New Issue