This is an automated email from the ASF dual-hosted git repository.
sunyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 2dbd204 feat: add frontend e2e report on pr comment (#1529)
2dbd204 is described below
commit 2dbd204d1f42fb9eb425b4cdc7f190adedfc667e
Author: litesun <[email protected]>
AuthorDate: Tue Mar 2 14:07:21 2021 +0800
feat: add frontend e2e report on pr comment (#1529)
---
.github/workflows/backend-e2e-test.yml | 9 ++++-----
.github/workflows/backend-unit-test.yml | 4 ++--
.github/workflows/frontend-e2e-test.yml | 4 ++++
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/backend-e2e-test.yml
b/.github/workflows/backend-e2e-test.yml
index 4c91dd6..20f31d1 100644
--- a/.github/workflows/backend-e2e-test.yml
+++ b/.github/workflows/backend-e2e-test.yml
@@ -18,7 +18,7 @@ jobs:
- name: setup go
uses: actions/[email protected]
with:
- go-version: '1.13'
+ go-version: "1.13"
- name: Modify conf.yaml
run: |
@@ -75,8 +75,7 @@ jobs:
- name: upload coverage profile
working-directory: ./api/test/testdata
run: |
- bash <(curl -s https://codecov.io/bash) -f ./integrationcover.out
-
+ bash <(curl -s https://codecov.io/bash) -f ./integrationcover.out -F
backend-e2e-test
backend-e2e-test-ginkgo:
runs-on: ubuntu-latest
@@ -87,7 +86,7 @@ jobs:
- name: setup go
uses: actions/[email protected]
with:
- go-version: '1.13'
+ go-version: "1.13"
- name: Modify conf.yaml Configure for use by the manage-api cluster
run: |
@@ -130,4 +129,4 @@ jobs:
- name: upload coverage profile
working-directory: ./api/test/testdata
run: |
- bash <(curl -s https://codecov.io/bash) -f ./integrationcover.out
+ bash <(curl -s https://codecov.io/bash) -f ./integrationcover.out -F
backend-e2e-test-ginkgo
diff --git a/.github/workflows/backend-unit-test.yml
b/.github/workflows/backend-unit-test.yml
index d6303e0..657b0e0 100644
--- a/.github/workflows/backend-unit-test.yml
+++ b/.github/workflows/backend-unit-test.yml
@@ -27,7 +27,7 @@ jobs:
- name: setup go
uses: actions/[email protected]
with:
- go-version: '1.13'
+ go-version: "1.13"
- name: run test
run: |
@@ -36,7 +36,7 @@ jobs:
- name: upload coverage profile
working-directory: ./api
run: |
- bash <(curl -s https://codecov.io/bash)
+ bash <(curl -s https://codecov.io/bash) -F backend-unit-test
- name: run with custom port
working-directory: ./api
diff --git a/.github/workflows/frontend-e2e-test.yml
b/.github/workflows/frontend-e2e-test.yml
index 1167d96..2ba0014 100644
--- a/.github/workflows/frontend-e2e-test.yml
+++ b/.github/workflows/frontend-e2e-test.yml
@@ -53,3 +53,7 @@ jobs:
- name: Report e2e coverage
run: npx nyc report --reporter=text-summary
+
+ - name: Upload coverage to Codecov
+ run: |
+ bash <(curl -s https://codecov.io/bash) -f
./coverage/coverage-final.json -F frontend-e2e-test