Skip to content

Commit

Permalink
ci: log a message when test analytics reporter is available
Browse files Browse the repository at this point in the history
  • Loading branch information
tkajtoch committed Aug 8, 2024
1 parent 1fd3106 commit bfb69f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eui/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ const isBuildkiteReporterAvailable =
typeof process.env.BUILDKITE_ANALYTICS_CYPRESS_TOKEN === 'string' &&
process.env.BUILDKITE_ANALYTICS_CYPRESS_TOKEN !== '';

if (isBuildkiteReporterAvailable) {
console.log('Buildkite Test Analytics reporter available');
}

export default defineConfig({
retries: {
runMode: 2,
Expand Down
4 changes: 4 additions & 0 deletions packages/eui/scripts/jest/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const isBuildkiteTestReporterAvailable =
typeof buildkiteTestReporterToken === 'string' &&
buildkiteTestReporterToken !== '';

if (isBuildkiteTestReporterAvailable) {
console.log('Buildkite Test Analytics reporter available');
}

console.log(`Running tests on React v${reactVersion}`);

/** @type {import('jest').Config} */
Expand Down

0 comments on commit bfb69f0

Please sign in to comment.