Skip to content

Commit fc08501

Browse files
committed
Deploy coverage report to GitHub Pages under /coverage path
1 parent 4a62e86 commit fc08501

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/test-coverage.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,16 @@ jobs:
7777

7878
- name: Setup Pages
7979
uses: actions/configure-pages@v3
80-
80+
81+
- name: Move coverage to subdirectory
82+
run: |
83+
mkdir -p public/coverage
84+
mv htmlcov/* public/coverage/
85+
8186
- name: Upload pages artifact
8287
uses: actions/upload-pages-artifact@v2
8388
with:
84-
path: './htmlcov'
89+
path: './public'
8590

8691
- name: Deploy to GitHub Pages
8792
id: deployment

0 commit comments

Comments
 (0)