1
0
Fork 0

ci: temporarily disable codecov status checks (#19354)

This commit is contained in:
Brad Decker 2023-06-01 10:11:22 -05:00 committed by GitHub
parent ea4270babf
commit c146023598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 12 deletions

View File

@ -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

View File

@ -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/';