Overview
Thesetup-trunk-uploads tool helps configure test result uploads for Trunk Flaky Tests. This tool provides step-by-step instructions tailored to your specific test framework and CI provider combination.
The tool guides you through a 4-step process:
- Configure Test Framework - Modify your test configuration to output JUnit XML reports
- Run Tests - Execute at least one test to generate reports
- Test Upload - Manually upload a test report to verify connectivity
- Configure CI - Set up automated uploads in your CI pipeline
Return Type: Structured setup plan to generate test reports and upload to Trunk. Structure: project analysis and setup plan
Parameters
Required Parameters
Supported values
Test Frameworks
android- Android testing frameworkbazel- Bazel test runnercypress- Cypress end-to-end testinggotestsum- Go testing with gotestsumjasmine- Jasmine testing frameworkjest- Jest testing frameworkkarma- Karma test runnermaven- Maven Surefire/Failsafe testingminitest- Ruby minitest frameworkmocha- Mocha testing frameworkphpunit- PHPUnit testing frameworkplaywright- Playwright testing frameworkpytest- Python pytest frameworkrspec- Ruby RSpec testing frameworkrust- Rust testing with cargo testswift-testing- Swift Testing frameworkvitest- Vitest testing frameworkxctest- Xcode XCTest framework
CI Providers
buildkite- Buildkite pipelinescircleci- CircleCI pipelinesdrone- Drone CIgithub- GitHub Actionsgitlab- GitLab CI/CDsemaphore- Semaphore CItravis- Travis CIother- Other CI providers (manual configuration)