Skip to content

Commit 167136b

Browse files
committed
coverxygen and lcov scripts updated
1 parent 6e96e1a commit 167136b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,12 @@ jobs:
8989
working-directory: ./calculator-app
9090

9191
- name: Run Coverxygen
92-
run: python -m coverxygen --xml-dir ./calculator-app/target/site/doxygen/xml --src-dir ./ --format lcov --output ./calculator-app/target/site/coverxygen/lcov.info --prefix %currentDir%\calculator-app\
93-
92+
run: |
93+
currentDir=$(pwd)
94+
python -m coverxygen --xml-dir $currentDir/calculator-app/target/site/doxygen/xml --src-dir $currentDir --format lcov --output $currentDir/calculator-app/target/site/coverxygen/lcov.info --prefix $currentDir/calculator-app/
95+
9496
- name: Run lcov genhtml
95-
run: perl C:\ProgramData\chocolatey\lib\lcov\tools\bin\genhtml ./calculator-app\target\site\coverxygen\lcov.info -o calculator-app/target/site/coverxygen
97+
run: genhtml ./calculator-app\target\site\coverxygen\lcov.info -o calculator-app/target/site/coverxygen
9698

9799
#- name: Archive Coverage Report
98100
# uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)