Skip to content

Commit 9d933cd

Browse files
committed
Merge branch 'master' into mathjax-comp
2 parents 9c795cd + 7f85226 commit 9d933cd

File tree

1 file changed

+41
-39
lines changed

1 file changed

+41
-39
lines changed

.github/workflows/tests_coverage.yml

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,29 @@ on:
88
type: string
99

1010
jobs:
11-
run_unit_coverage_upload:
12-
name: "Upload unit coverage"
13-
runs-on: ubuntu-latest
14-
15-
# ci can be skipped with `[skip ci]` prefix in message
16-
if: "!contains(github.event.head_commit.message, 'skip ci')"
17-
18-
steps:
19-
- name: "Checkout codebase"
20-
uses: actions/checkout@v3
21-
22-
- name: "Download Unit coverage from Artifact"
23-
uses: ./.github/actions/download-artifact
24-
with:
25-
name: unit-tests-coverage
26-
27-
- name: Upload coverage to Codecov
28-
uses: codecov/codecov-action@v3.1.4
29-
if: ${{ !github.event.pull_request.head.repo.fork }}
30-
with:
31-
fail_ci_if_error: true
32-
token: ${{ secrets.codecov_token }}
11+
# KA NOTE: disable this since this depends on Cypress run which needs secret
12+
# run_unit_coverage_upload:
13+
# name: "Upload unit coverage"
14+
# runs-on: ubuntu-latest
15+
16+
# # ci can be skipped with `[skip ci]` prefix in message
17+
# if: "!contains(github.event.head_commit.message, 'skip ci')"
18+
19+
# steps:
20+
# - name: "Checkout codebase"
21+
# uses: actions/checkout@v3
22+
23+
# - name: "Download Unit coverage from Artifact"
24+
# uses: ./.github/actions/download-artifact
25+
# with:
26+
# name: unit-tests-coverage
27+
28+
# - name: Upload coverage to Codecov
29+
# uses: codecov/codecov-action@v3.1.4
30+
# if: ${{ !github.event.pull_request.head.repo.fork }}
31+
# with:
32+
# fail_ci_if_error: true
33+
# token: ${{ secrets.codecov_token }}
3334

3435
run_e2e_coverage_upload:
3536
name: Upload E2E coverage
@@ -53,24 +54,25 @@ jobs:
5354
fail_ci_if_error: true
5455
token: ${{ secrets.codecov_token }}
5556

56-
run_cypress_coverage_upload:
57-
name: Upload Cypress coverage
58-
runs-on: ubuntu-latest
57+
# KA NOTE: disable this since this depends on Cypress run which needs secret
58+
# run_cypress_coverage_upload:
59+
# name: Upload Cypress coverage
60+
# runs-on: ubuntu-latest
5961

60-
if: "!contains(github.event.head_commit.message, 'skip ci')"
62+
# if: "!contains(github.event.head_commit.message, 'skip ci')"
6163

62-
steps:
63-
- name: "Checkout codebase"
64-
uses: actions/checkout@v3
64+
# steps:
65+
# - name: "Checkout codebase"
66+
# uses: actions/checkout@v3
6567

66-
- name: "Download Cypress coverage from Artifact"
67-
uses: ./.github/actions/download-artifact
68-
with:
69-
name: cypress-tests-coverage
68+
# - name: "Download Cypress coverage from Artifact"
69+
# uses: ./.github/actions/download-artifact
70+
# with:
71+
# name: cypress-tests-coverage
7072

71-
- name: Upload coverage to Codecov
72-
uses: codecov/codecov-action@v3.1.4
73-
if: ${{ !github.event.pull_request.head.repo.fork }}
74-
with:
75-
fail_ci_if_error: true
76-
token: ${{ secrets.codecov_token }}
73+
# - name: Upload coverage to Codecov
74+
# uses: codecov/codecov-action@v3.1.4
75+
# if: ${{ !github.event.pull_request.head.repo.fork }}
76+
# with:
77+
# fail_ci_if_error: true
78+
# token: ${{ secrets.codecov_token }}

0 commit comments

Comments
 (0)