code: function circleReportPath () {
  	const CIRCLE_JOB = process.env.CIRCLE_JOB;
  	const CIRCLE_WORKING_DIRECTORY = process.env.CIRCLE_WORKING_DIRECTORY;
  	if (!(ci.CIRCLE && CIRCLE_JOB && CIRCLE_WORKING_DIRECTORY)) {
  		return;
  	}
  	const cwd = resolveHomePath(CIRCLE_WORKING_DIRECTORY);
  	let config = path.join(
  		cwd,
  		'.circleci/config.yml'
  	);
  	config = fs.readFileSync(
  		config,
  		'utf-8'
  	);
  	config = yaml.safeLoad(config);
  
  	config = config.jobs[CIRCLE_JOB].steps.reduce((results, step) => {
  		step = step.store_test_results;
  		if (step) {
  			step = step.paths || step.path;
  			if (step) {
  				results = results.concat(step);
  			}
  		}
  		return results;
  	}, []);
  
  	config = config.find(path => !/\w+\.\w+$/.test(path)) || config[0];
  
  	if (config) {
  		return path.resolve(
  			cwd,
  			resolveHomePath(config)
  		);
  	}
  }
docs: https://circleci.com/docs/2.0/collect-test-data/