Skip to content

Commit a1991ab

Browse files
committed
test(e2e): increase e2e workflow checkout depth to 50
this helps codecov determine the appropriate SHA when figuring out how project coverage changed depth of 1 (the default) is not enough for it to figure things out always, and 0 is too heavy, 50 should be enough for any reasonable PR c.f. ankidroid/Anki-Android#7978
1 parent 81e4195 commit a1991ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests_e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- uses: actions/checkout@v2
4040
with:
41-
fetch-depth: 1
41+
fetch-depth: 50
4242

4343
- uses: actions/setup-node@v2-beta
4444

@@ -213,7 +213,7 @@ jobs:
213213

214214
- uses: actions/checkout@v2
215215
with:
216-
fetch-depth: 1
216+
fetch-depth: 50
217217

218218
- uses: actions/setup-node@v2-beta
219219

.github/workflows/tests_jest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
access_token: ${{ github.token }}
3232
- uses: actions/checkout@v2
3333
with:
34-
fetch-depth: 1
34+
fetch-depth: 50
3535
- uses: actions/setup-node@v2-beta
3636
with:
3737
node-version: 12

0 commit comments

Comments
 (0)