mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
ci: temporarily disable codecov status checks (#19354)
This commit is contained in:
parent
ea4270babf
commit
c146023598
21
codecov.yml
21
codecov.yml
@ -4,13 +4,14 @@ codecov:
|
||||
coverage:
|
||||
round: nearest
|
||||
status:
|
||||
project:
|
||||
global:
|
||||
target: auto
|
||||
threshold: 0%
|
||||
base: auto
|
||||
transforms:
|
||||
target: 100%
|
||||
threshold: 0%
|
||||
paths:
|
||||
- development/build/transforms/**/*.js
|
||||
project: off
|
||||
patch: off
|
||||
# global:
|
||||
# target: auto
|
||||
# threshold: 0%
|
||||
# base: auto
|
||||
# transforms:
|
||||
# target: 100%
|
||||
# threshold: 0%
|
||||
# paths:
|
||||
# - development/build/transforms/**/*.js
|
||||
|
@ -6,10 +6,29 @@ const reports = require('istanbul-reports');
|
||||
const glob = require('fast-glob');
|
||||
const yargs = require('yargs/yargs');
|
||||
const { hideBin } = require('yargs/helpers');
|
||||
const yaml = require('js-yaml');
|
||||
// Temporarily commented out as we can't rely on the commented yaml file
|
||||
// Can be restored when the codecov checks are restored
|
||||
// const yaml = require('js-yaml');
|
||||
const codecovTargets = require('../coverage-targets');
|
||||
|
||||
const codecovConfig = yaml.load(fs.readFileSync('codecov.yml', 'utf8'));
|
||||
// Temporarily commented out as we can't rely on the commented yaml file
|
||||
// Can be restored when the codecov checks are restored. In the meantime
|
||||
// the important parts of the yaml file are copied below in normal js object
|
||||
// format.
|
||||
// const codecovConfig = yaml.load(fs.readFileSync('codecov.yml', 'utf8'));
|
||||
|
||||
const codecovConfig = {
|
||||
coverage: {
|
||||
status: {
|
||||
global: {},
|
||||
project: {
|
||||
transforms: {
|
||||
paths: ['development/build/transforms/**/*.js'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const COVERAGE_DIR = './coverage/';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user