File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed
Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -124,21 +124,11 @@ jobs:
124124 # Upload coverage to Coveralls using goveralls (Go-specific tool)
125125 - name : Upload coverage to Coveralls
126126 if : matrix.test-suite == 'e2e' && matrix.k8s-version == '1.34.0'
127- env :
128- COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
129- run : |
130- # Install goveralls
131- go install github.com/mattn/goveralls@latest
132- # Run goveralls from operator directory (where go.mod is located)
133- cd operator
134- # Verify coverage file exists
135- if [ ! -f reporting/cover.out ]; then
136- echo "ERROR: Coverage file not found at reporting/cover.out"
137- ls -la reporting/ || echo "reporting directory does not exist"
138- exit 1
139- fi
140- # Upload coverage (run from operator/ directory, path is relative to operator/)
141- goveralls -coverprofile=reporting/cover.out -service=github -repotoken=$COVERALLS_TOKEN
127+ uses : coverallsapp/github-action@v2
128+ with :
129+ github-token : ${{ secrets.GITHUB_TOKEN }}
130+ file : operator/reporting/cover.out
131+ format : golang
142132
143133 # Build multi-platform container image and push to registry
144134 build-and-push-operator :
You can’t perform that action at this time.
0 commit comments