Installing Captain
Captain provides a CLI to integrate your test suite's results. Installing the CLI differs depending on where you are installing it.
On GitHub Actions
Use the setup-captain action which will install the CLI for you.
uses: rwx-research/setup-captain@v1
On macOS
brew install rwx-research/tap/captain
On a Unix Based OS
Install captain via some variation of this script, substituting the appropriate OS and architecture for your system.
tmp="$(mktemp -d)/captain" && \
curl -o "$tmp" -fsSL "https://releases.captain.build/v1/linux/x86_64/captain" && \
sudo install "$tmp" /usr/local/bin && \
rm "$tmp" && \
captain --version
If you're installing this in a Docker image, we'd recommend putting it close to the execution of your tests to ensure you have the most up to date version of the CLI installed.
Here are supported OS, architectures, and their download URLs:
OS | Architecture | URL |
---|---|---|
darwin | x86_64 | https://releases.captain.build/v1/darwin/x86_64/captain |
darwin | aarch64 | https://releases.captain.build/v1/darwin/aarch64/captain |
linux | x86_64 | https://releases.captain.build/v1/linux/x86_64/captain |
linux | aarch64 | https://releases.captain.build/v1/linux/aarch64/captain |
On Windows
If you're interested in running Captain on Windows, please reach out to us. We'd love to chat more about your use case to help us prioritize Windows support!