File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Trigger coverage bot
4+
5+ on :
6+ workflow_run :
7+ workflows : ["CI pipeline for pySDC"]
8+ types : ["completed"]
9+
10+ jobs :
11+
12+ Upload to Codecov :
13+ runs-on : ubuntu-latest
14+
15+ if : ${{ github.repository_owner == 'Parallel-in-Time' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.pull_requests != '' }}
16+
17+ defaults :
18+ run :
19+ shell : bash -l {0}
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Install Conda environment with Micromamba
26+ uses : mamba-org/setup-micromamba@v1
27+ with :
28+ environment-file : " etc/environment-postprocess.yml"
29+
30+ - name : Downloading artifacts
31+ uses : actions/download-artifact@v4
32+ with :
33+ path : .
34+ merge-multiple : true
35+ run-id : ${{ github.event.workflow_run.id }}
36+ github-token : ${{ secrets.ACTION_READ_TOKEN }}
37+
38+ - name : Prepare artifacts
39+ run : |
40+ python -m coverage combine coverage_*.dat
41+ python -m coverage xml
42+ python -m coverage html
43+
44+ - name : Upload coverage reports to Codecov
45+ uses : codecov/codecov-action@v4
46+ with :
47+ token : ${{ secrets.CODECOV }}
48+
You can’t perform that action at this time.
0 commit comments