Closed pietern closed 1 week ago
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:
Trigger: go/deco-tests-run/cli
Inputs:
b42fbe35a9e8eb35d000cf3ae31f6ad4f40cd2e6
Checks will be approved automatically on success.
Test Details: go/deco-tests/11817474520
Changes
Whether or not the CLI is running on DBR can be detected once and stored in the command's context.
By storing it in the context, it can easily be mocked for testing.
This builds on the simpler approach and conversation in #1744. It unblocks testing of the DBR-specific paths while not compromising on the checks we can perform to test if the CLI is running on DBR.
Tests
dbr
packageConfigureWSFS
mutator