Skip to content

Commit a4146b3

Browse files
committed
Reuse coverage artifact from build workflow
1 parent f427e49 commit a4146b3

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/pages.yml

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

33
on:
4-
push:
5-
pull_request:
4+
workflow_run:
5+
workflows: ["Build application"]
6+
types:
7+
- completed
68
workflow_dispatch:
79

810
permissions:
@@ -110,6 +112,13 @@ jobs:
110112
with:
111113
name: scoreboard
112114
path: ./scoreboard/
115+
- name: Download coverage artifact
116+
uses: actions/download-artifact@v4
117+
with:
118+
name: cov-report
119+
path: ./coverage/
120+
github-token: ${{ secrets.GITHUB_TOKEN }}
121+
run-id: ${{ github.event.workflow_run.id }}
113122
- name: Upload artifact
114123
uses: actions/upload-pages-artifact@v3
115124
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)