Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate - replace <link> with an actual link #148

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

max-trunk
Copy link
Contributor

On successful invocation of validate, includes a link to onboarding. Also replaces usage of log::info!() with println() for cleaner output

max@max-cloudtop:~/src/flake-factory$ ~/src/analytics-cli/target/x86_64-unknown-linux-musl/release/trunk-analytics-cli validate --junit-paths go/src/**/*.xml,rust/**/nextest/ci/*junit.xml,**/jest_*.xml
2024-11-01T18:32:14 [INFO] - Starting trunk-analytics-cli 0.0.0 (git=547be9c972c60ac72e9655ad5912304aeae64bd1) rustc=1.80.0-nightly

Validating the following 3 files:
  File set matching go/src/**/*.xml:
    go/src/gotestsum_test.xml
  File set matching rust/**/nextest/ci/*junit.xml:
    rust/target/nextest/ci/junit.xml
  File set matching **/jest_*.xml:
    tests/jest/jest_junit_test.xml

go/src/gotestsum_test.xml - 1 test suites, 3 test cases, 0 validation errors, 4 validation warnings
  OPTIONAL - report has test cases with missing file or filepath
  OPTIONAL - test case or parent has no timestamp
  OPTIONAL - test case or parent has no timestamp
  OPTIONAL - test case or parent has no timestamp
rust/target/nextest/ci/junit.xml - 1 test suites, 2 test cases, 0 validation errors, 2 validation warnings
  OPTIONAL - report has stale (> 1 hour(s)) timestamps
  OPTIONAL - report has test cases with missing file or filepath
tests/jest/jest_junit_test.xml - 1 test suites, 3 test cases, 0 validation errors, 1 validation warnings
  OPTIONAL - report has stale (> 1 hour(s)) timestamps

All 3 files are valid! (3 files with validation warnings) ✅
Navigate to https://app.trunk.io/onboarding?intent=flaky+tests to continue using Trunk Flaky Tests! 🚀🧪
max@max-cloudtop:~/src/flake-factory$

@max-trunk max-trunk marked this pull request as ready for review November 1, 2024 18:34
@max-trunk max-trunk merged commit a0ff655 into main Nov 1, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants