File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CLI Output Compatibility Tests
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ workflow_dispatch :
9+
10+ jobs :
11+ cli-output-compatibility :
12+ runs-on : ubuntu-22.04
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v2
17+
18+ - name : Set up Go
19+ uses : actions/setup-go@v5
20+ with :
21+ go-version : ' 1.22.6'
22+ cache : true
23+
24+ - name : Install dependencies
25+ run : go mod download
26+
27+ - name : Build brev binary
28+ run : make fast-build
29+
30+ - name : Run CLI output compatibility tests
31+ run : go test -v ./pkg/integration/
32+
33+ - name : Report test results
34+ if : failure()
35+ run : |
36+ echo "❌ CLI Output Compatibility Tests Failed"
37+ echo "This indicates a potential breaking change for external integrations."
38+ echo "Please review the failing tests and ensure backward compatibility."
39+ echo ""
40+ echo "These tests verify that CLI output formats remain stable for:"
41+ echo "- NVIDIA Workbench integration"
42+ echo "- Other external tools that parse brev CLI output"
43+ echo ""
44+ echo "If you intentionally changed output formats, please:"
45+ echo "1. Update the external integrations first"
46+ echo "2. Then update these tests to match the new format"
47+ echo "3. Coordinate with integration maintainers"
48+
49+ - name : Report success
50+ if : success()
51+ run : |
52+ echo "✅ CLI Output Compatibility Tests Passed"
53+ echo "No breaking changes detected for external integrations."
You can’t perform that action at this time.
0 commit comments