mirror of https://github.com/knative/func.git
codecov v5 (#2705)
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
This commit is contained in:
parent
68deddf80b
commit
104e90ce5c
|
@ -38,7 +38,7 @@ jobs:
|
||||||
run: make test
|
run: make test
|
||||||
- name: Template Unit Tests
|
- name: Template Unit Tests
|
||||||
run: make test-templates
|
run: make test-templates
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: unit-tests-${{ matrix.os }}
|
flags: unit-tests-${{ matrix.os }}
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
run: ./hack/setup-testing-images.sh
|
run: ./hack/setup-testing-images.sh
|
||||||
- name: Integration Tests
|
- name: Integration Tests
|
||||||
run: make test-integration
|
run: make test-integration
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: integration-tests
|
flags: integration-tests
|
||||||
|
@ -93,7 +93,7 @@ jobs:
|
||||||
run: ./hack/registry.sh
|
run: ./hack/registry.sh
|
||||||
- name: E2E Test
|
- name: E2E Test
|
||||||
run: make test-e2e
|
run: make test-e2e
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: e2e-test
|
flags: e2e-test
|
||||||
|
@ -128,7 +128,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
E2E_RUNTIMES: ""
|
E2E_RUNTIMES: ""
|
||||||
run: make test-e2e-on-cluster
|
run: make test-e2e-on-cluster
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: e2e-test-oncluster
|
flags: e2e-test-oncluster
|
||||||
|
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
echo "::group::cluster containers logs"
|
echo "::group::cluster containers logs"
|
||||||
stern '.*' --all-namespaces --no-follow
|
stern '.*' --all-namespaces --no-follow
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: e2e-test-oncluster-runtime
|
flags: e2e-test-oncluster-runtime
|
||||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
FUNC_REPO_REF: ${{ github.event.pull_request.head.repo.full_name }}
|
FUNC_REPO_REF: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
FUNC_REPO_BRANCH_REF: ${{ github.head_ref }}
|
FUNC_REPO_BRANCH_REF: ${{ github.head_ref }}
|
||||||
run: make test-e2e-on-cluster
|
run: make test-e2e-on-cluster
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: e2e-test-oncluster
|
flags: e2e-test-oncluster
|
||||||
|
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: make
|
run: make
|
||||||
- name: E2E runtime for ${{ matrix.runtime }}
|
- name: E2E runtime for ${{ matrix.runtime }}
|
||||||
run: make test-e2e-runtime runtime=${{ matrix.runtime }}
|
run: make test-e2e-runtime runtime=${{ matrix.runtime }}
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: e2e-test-runtime-${{ matrix.runtime }}
|
flags: e2e-test-runtime-${{ matrix.runtime }}
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
run: ./hack/registry.sh
|
run: ./hack/registry.sh
|
||||||
- name: E2E Test
|
- name: E2E Test
|
||||||
run: make test-e2e
|
run: make test-e2e
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: e2e-test
|
flags: e2e-test
|
||||||
|
|
|
@ -65,7 +65,7 @@ jobs:
|
||||||
name: cluster-logs
|
name: cluster-logs
|
||||||
path: ./cluster_log.txt
|
path: ./cluster_log.txt
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
flags: integration-tests
|
flags: integration-tests
|
||||||
|
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
gh run download -R ${{ github.repository }} ${{ github.run_id }}
|
gh run download -R ${{ github.repository }} ${{ github.run_id }}
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: codecov/codecov-action@v4
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage-ubuntu-latest/coverage.txt,./coverage-windows-latest/coverage.txt,./coverage-macos-latest/coverage.txt
|
files: ./coverage-ubuntu-latest/coverage.txt,./coverage-windows-latest/coverage.txt,./coverage-macos-latest/coverage.txt
|
||||||
flags: unit-tests
|
flags: unit-tests
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
name: Update components
|
name: Update components
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.23.0
|
go-version: 1.23.0
|
||||||
|
|
Loading…
Reference in New Issue