Skip to content

Commit efb6df7

Browse files
committed
Fix coverage combine step
1 parent 7d916d7 commit efb6df7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,17 @@ runs:
2222
pip install coverage
2323
working-directory: ${{ runner.temp }}/coverage
2424
shell: bash
25+
- name: Collect names
26+
id: meta
27+
run: |
28+
FILES=$(ls -A --dired | tr '\n' ' ')
29+
FILES2="${FILES% }"
30+
echo "::set-output name=files::${FILES2}"
31+
working-directory: ${{ runner.temp }}/coverage
32+
shell: bash
2533
- name: Combine coverage reports
2634
run: |
27-
coverage combine *
35+
coverage combine ${{ steps.meta.outputs.files }}
2836
working-directory: ${{ runner.temp }}/coverage
2937
shell: bash
3038
- name: Generate XML coverage report

0 commit comments

Comments
 (0)