mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-07-21 10:49:37 +00:00
feat: codecov (#1023)
* chore: missing schedule on auto merge Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * feat: adding codecoverage back in Signed-off-by: Alex Jones <alexsimonjones@gmail.com> --------- Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
parent
a1d0d0a180
commit
fe81d16f75
7
.github/workflows/test.yaml
vendored
7
.github/workflows/test.yaml
vendored
@ -13,7 +13,6 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
@ -24,4 +23,8 @@ jobs:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
|
||||
- name: Run test
|
||||
run: go test ./...
|
||||
run: go test ./... -coverprofile=coverage.txt
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
@ -12,6 +12,9 @@
|
||||
],
|
||||
"automerge": true,
|
||||
"automergeType": "pr",
|
||||
"schedule": [
|
||||
"at any time"
|
||||
],
|
||||
"platformAutomerge": true,
|
||||
"packageRules": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user