Skip to content

Commit 360372d

Browse files
committed
more coverage updates
Fixes line links in coverage md files. updated travis with correct file pattern.
1 parent e04c99f commit 360372d

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ after_success:
101101
- (yes | rm -r doc gh-pages) || true # wipe out doc dirs to avoid confusing codecov
102102
- |
103103
if [[ $CODE_COVERAGE == [yY]* ]]; then
104-
rm json_*-*unicode.F90.gcov || true
104+
rm json_*.F90-*unicode.gcov || true
105105
mv json_*.F90.gcov src/
106106
mv jf_test*.[fF]90.gcov src/tests/
107107
bash <(curl -s https://codecov.io/bash) -v -X gcov

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ if [[ $JF_SKIP_TESTS != [yY]* ]] ; then
330330
FoBiS.py rule -gcov_analyzer .
331331
for SRCFILE in json_string_utilities.F90 json_value_module.F90 json_file_module.F90 ; do
332332
sed -i"bak" -E 's; \*\*([a-zA-Z]+[a-zA-Z0-9_]*)\*\*; \*\*[[\1]]\*\*;' ${SRCFILE}.gcov.md
333-
sed -i"bak" -E 's;, line ([0-9]+);, line [\1](https://github.com/jacobwilliams/json-fortran/blob/master/src/${SRCFILE}#L\1);' ${SRCFILE}.gcov.md
333+
sed -i"bak" -E "s;, line ([0-9]+);, line [\1](https://github.com/jacobwilliams/json-fortran/blob/master/src/${SRCFILE}#L\1);" ${SRCFILE}.gcov.md
334334
done
335335
gcov -o $BINDIR ${TESTDIR}*.[Ff]90
336336
fi

pages/development-resources/json_module.F90.gcov.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@ If procedure coverage is at 100%, also have a look at the
2222

2323
![Codecov.io](https://codecov.io/github/jacobwilliams/json-fortran/branch.svg?branch=master)
2424

25-
### json_string_utilities
26-
2725
{!json_string_utilities.F90.gcov.md!}
2826

29-
### json_value_module
30-
3127
{!json_value_module.F90.gcov.md!}
3228

33-
### json_file_module
34-
3529
{!json_file_module.F90.gcov.md!}

0 commit comments

Comments
 (0)