Skip to content

Commit 00a4e3f

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

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ 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' # The Go version to download (if necessary) and use.
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:
25+
- make lint
26+
- name: Integration test
27+
- make integration-test
28+
- name: Code Coverage Report
29+
uses: irongut/CodeCoverageSummary@v1.3.0
30+
with:
31+
filename: ${{ env.CODECOV_FILE }}
32+
badge: true
33+
indicators: true
34+
format: markdown
35+
output: both
736
image-build:
837
name: Image Build
938
runs-on: ubuntu-latest
@@ -23,7 +52,7 @@ jobs:
2352
username: ${{ github.actor }}
2453
password: ${{ secrets.GITHUB_TOKEN }}
2554
- name: Build images
26-
uses: hiberbee/github-action-skaffold@1.19.0
55+
uses: hiberbee/github-action-skaffold@1.27.0
2756
with:
2857
skaffold-version: 2.14.1
2958
command: build

0 commit comments

Comments
 (0)