Skip to content

Commit

Permalink
ci: temporarily disable codecov status checks (#19354)
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-decker authored Jun 1, 2023
1 parent ea4270b commit c146023
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 12 deletions.
21 changes: 11 additions & 10 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 21 additions & 2 deletions test/merge-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/';

Expand Down

0 comments on commit c146023

Please sign in to comment.