Skip to content

Commit

Permalink
Add workaround for error 'fatal: not a git repository' caused by a ca…
Browse files Browse the repository at this point in the history
…ll to 'git ls-files
  • Loading branch information
ZIMkaRU committed Mar 12, 2024
1 parent b27bfce commit e21598a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2e-test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
name: Linux E2E Tests
path: linux-e2e-test-results/e2e-test-report.xml
reporter: jest-junit
# Workaround for error 'fatal: not a git repository' caused by a call to 'git ls-files'
# See: https://github.com/dorny/test-reporter/issues/169#issuecomment-1583560458
max-annotations: 0
- name: Download Win E2E test results
uses: actions/download-artifact@v4
with:
Expand All @@ -44,6 +47,7 @@ jobs:
name: Win E2E Tests
path: win-e2e-test-results/e2e-test-report.xml
reporter: jest-junit
max-annotations: 0
- name: Download Mac E2E test results
uses: actions/download-artifact@v4
with:
Expand All @@ -57,6 +61,7 @@ jobs:
name: Mac E2E Tests
path: mac-e2e-test-results/e2e-test-report.xml
reporter: jest-junit
max-annotations: 0
- name: E2E Test Report Summary
run: |
echo "### E2E Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
name: Mocha Tests
path: test-results/test-report.json
reporter: mocha-json
# Workaround for error 'fatal: not a git repository' caused by a call to 'git ls-files'
# See: https://github.com/dorny/test-reporter/issues/169#issuecomment-1583560458
max-annotations: 0
- name: Test Report Summary
run: |
echo "### Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit e21598a

Please sign in to comment.