-
Notifications
You must be signed in to change notification settings - Fork 32
51 lines (42 loc) · 1.51 KB
/
cli-output-compatibility.yml
File metadata and controls
51 lines (42 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CLI Output Compatibility Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
cli-output-compatibility:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24.0'
cache: true
- name: Install dependencies
run: go mod download
- name: Run CLI output compatibility tests
run: go test -v ./pkg/integration/
- name: Report test results
if: failure()
run: |
echo "❌ CLI Output Compatibility Tests Failed"
echo "This indicates a potential breaking change for external integrations."
echo "Please review the failing tests and ensure backward compatibility."
echo ""
echo "These tests verify that CLI output formats remain stable for:"
echo "- NVIDIA Workbench integration"
echo "- Other external tools that parse brev CLI output"
echo ""
echo "If you intentionally changed output formats, please:"
echo "1. Update the external integrations first"
echo "2. Then update these tests to match the new format"
echo "3. Coordinate with integration maintainers"
- name: Report success
if: success()
run: |
echo "✅ CLI Output Compatibility Tests Passed"
echo "No breaking changes detected for external integrations."