mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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:
|
coverage:
|
||||||
round: nearest
|
round: nearest
|
||||||
status:
|
status:
|
||||||
project:
|
project: off
|
||||||
global:
|
patch: off
|
||||||
target: auto
|
# global:
|
||||||
threshold: 0%
|
# target: auto
|
||||||
base: auto
|
# threshold: 0%
|
||||||
transforms:
|
# base: auto
|
||||||
target: 100%
|
# transforms:
|
||||||
threshold: 0%
|
# target: 100%
|
||||||
paths:
|
# threshold: 0%
|
||||||
- development/build/transforms/**/*.js
|
# paths:
|
||||||
|
# - development/build/transforms/**/*.js
|
||||||
|
@ -6,10 +6,29 @@ const reports = require('istanbul-reports');
|
|||||||
const glob = require('fast-glob');
|
const glob = require('fast-glob');
|
||||||
const yargs = require('yargs/yargs');
|
const yargs = require('yargs/yargs');
|
||||||
const { hideBin } = require('yargs/helpers');
|
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 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/';
|
const COVERAGE_DIR = './coverage/';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user