Skip to content

Commit 4d981ba

Browse files
authored
[CI] Deploy coverage pages (#488)
- Deploy coverage to GitHub Pages - Link to coverage report in the README - Reuse existing coverage artifact for deployment resolves #329
1 parent 7b0212d commit 4d981ba

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@ jobs:
3636
- mac
3737
- windows
3838
uses: ./.github/workflows/perf.yml
39+
40+
pages:
41+
needs:
42+
- perf
43+
uses: ./.github/workflows/pages.yml

.github/workflows/pages.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Pages
22

33
on:
4-
push:
5-
pull_request:
4+
workflow_call:
65
workflow_dispatch:
76

87
permissions:
@@ -110,6 +109,11 @@ jobs:
110109
with:
111110
name: scoreboard
112111
path: ./scoreboard/
112+
- name: Download coverage artifact
113+
uses: actions/download-artifact@v4
114+
with:
115+
name: cov-report
116+
path: ./coverage/
113117
- name: Upload artifact
114118
uses: actions/upload-pages-artifact@v3
115119
with:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Parallel Programming Course
77
Welcome to the Parallel Programming Course! For more detailed documentation and resources, please visit documentation pages: [en](https://learning-process.github.io/parallel_programming_course/en/), [ru](https://learning-process.github.io/parallel_programming_course/ru/).
88
Course scoreboard is available [here](https://learning-process.github.io/parallel_programming_course/scoreboard/)
9+
Coverage report is available [here](https://learning-process.github.io/parallel_programming_course/coverage/)
910

1011
### Parallel programming technologies:
1112
The following parallel programming technologies are considered in practice:

0 commit comments

Comments
 (0)