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
This agent needs to be called once per test framework used in your repository. If your repository uses multiple test frameworks (e.g., Jest for frontend, pytest for backend), call this tool once for each framework with the same
ci_provider.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)