Skip to content

Commit 9614644

Browse files
shaxbeeZibi Mandziejewicz
authored andcommitted
ci: publish coverage report
1 parent be199fd commit 9614644

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ on:
44
push:
55

66
jobs:
7+
verify:
8+
name: Verify
9+
runs-on: ubuntu-latest
10+
env:
11+
CODECOV_FILE: "${GITHUB_WORKSPACE}/build/coverage.xml"
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version: '1.24'
19+
- name: Generate
20+
run: |
21+
make generate format
22+
'git diff --exit-code || (echo -e "\e[31mERROR: Run make generate format and commit changes\e[0m" && exit 1)'
23+
- name: Lint
24+
run: make lint
25+
- name: Integration test
26+
run: make integration-test
27+
- name: Code Coverage Report
28+
uses: irongut/CodeCoverageSummary@v1.3.0
29+
with:
30+
filename: ${{ env.CODECOV_FILE }}
31+
badge: true
32+
indicators: true
33+
format: markdown
34+
output: both
735
image-build:
836
name: Image Build
937
runs-on: ubuntu-latest
@@ -23,7 +51,7 @@ jobs:
2351
username: ${{ github.actor }}
2452
password: ${{ secrets.GITHUB_TOKEN }}
2553
- name: Build images
26-
uses: hiberbee/github-action-skaffold@1.19.0
54+
uses: hiberbee/github-action-skaffold@1.27.0
2755
with:
2856
skaffold-version: 2.14.1
2957
command: build

0 commit comments

Comments
 (0)