How to use @seadub/danger-plugin-junit - 6 common examples

To help you get started, we’ve selected a few @seadub/danger-plugin-junit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github appcelerator-modules / ti.playservices / dangerfile.js View on Github external
async function main() {
	// do a bunch of things in parallel
	// Specifically, anything that collects what labels to add or remove has to be done first before...
	await Promise.all([
		junit({ pathToReport: './TESTS-*.xml' }),
		dependencies({ type: 'npm' }),
		linkToArtifacts(),
	]);
}
main()
github appcelerator-modules / ti.map / dangerfile.js View on Github external
async function main() {
	// do a bunch of things in parallel
	// Specifically, anything that collects what labels to add or remove has to be done first before...
	await Promise.all([
		junit({ pathToReport: './TESTS-*.xml' }),
		dependencies({ type: 'npm' }),
		linkToArtifacts(),
		checkLintLog(),
	]);
}
main()
github appcelerator / titanium_mobile / dangerfile.js View on Github external
async function main() {
	// do a bunch of things in parallel
	// Specifically, anything that collects what labels to add or remove has to be done first before...
	await Promise.all([
		checkNPMTestOutput(),
		checkCommitMessages(),
		checkStats(github.pr),
		checkJIRA(),
		linkToSDK(),
		checkForIOSCrash(),
		junit({ pathToReport: './junit.*.xml' }),
		checkChangedFileLocations(),
		checkCommunity(),
		checkMergeable(),
		checkPRisApproved(),
		updateMilestone(),
		eslint(),
		dependencies({ type: 'npm' }),
	]);
	// ...once we've gathered what labels to add/remove, do that last
	await requestReviews();
	await removeLabels();
	await addMissingLabels();
}
main()
github appcelerator / vscode-appcelerator-titanium / dangerfile.js View on Github external
async function main() {
	await Promise.all([
		eslint(null, [ '.ts' ]),
		junit({ pathToReport: './junit_report.xml' }),
		dependencies({ type: 'npm' }),
		linkToVsix()
	]);
}
github appcelerator / titanium / dangerfile.js View on Github external
async function main() {
	await Promise.all([
		eslint(),
		junit({ pathToReport: './junit_report.xml' }),
		dependencies({ type: 'npm' })
	]);
}
main()
github appcelerator / atom-appcelerator-titanium / dangerfile.js View on Github external
async function main() {
	const eslintConfig = fs.readFileSync(path.join(__dirname, '.eslintrc'), 'utf8');
	await Promise.all([
		eslint(eslintConfig, [ '.js', '.jsx' ]),
		junit({ pathToReport: './junit_report.xml' }),
		dependencies({ type: 'npm' })
	]);
}
main()

@seadub/danger-plugin-junit

Add your Junit XML test failures to Danger

MIT
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis

Popular @seadub/danger-plugin-junit functions