diff --git a/.github/workflows/backend-e2e-test.yml b/.github/workflows/backend-e2e-test.yml index 4c91dd625c..20f31d1cc1 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/setup-go@v2.1.3 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/setup-go@v2.1.3 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 d6303e0406..657b0e0b53 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/setup-go@v2.1.3 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 1167d96a01..2ba00148ae 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