File tree Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,23 @@ jobs:
1010 timeout-minutes : 5
1111 runs-on : ubuntu-latest
1212 steps :
13- - name : Checkout Repo
14- uses : actions/checkout@v3
15- - name : Get composite run steps repository
16- uses : actions/checkout@v3
17- with :
18- repository : mosaicml/ci-testing
19- ref : v0.2.2
20- path : ./ci-testing
21- - uses : ./ci-testing/.github/actions/coverage
22- with :
23- download-path : ${{ inputs.download-path }}
13+ - name : Checkout Repo
14+ uses : actions/checkout@v3
15+ - name : Setup
16+ run : |
17+ set -ex
18+ python -m pip install --upgrade 'pip<23' wheel
19+ pip install coverage[toml]==6.5.0
20+ - name : Download artifacts
21+ uses : actions/download-artifact@v3
22+ with :
23+ path : ${{ inputs.download-path }}
24+ - name : Generate coverage report
25+ run : |
26+ set -ex
27+
28+ # Flatten the coverage files
29+ ls ${{ inputs.download-path }} | while read x; do mv ${{ inputs.download-path }}/$x/.coverage .coverage.$x; done
30+
31+ python -m coverage combine
32+ python -m coverage report
You can’t perform that action at this time.
0 commit comments