Skip to content

Commit c43bd61

Browse files
committed
try coverage with gcc 7
1 parent 702bab2 commit c43bd61

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
os: [ubuntu-latest]
1616
gcc_v: [7,8,9,10] # Version of GFortran we want to use.
1717
python-version: [3.7]
18-
use-cmake: [0,1]
1918
env:
2019
FC: gfortran-${{matrix.gcc_v}}
2120
GCC_V: ${{matrix.gcc_v}}
@@ -57,23 +56,20 @@ jobs:
5756
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
5857
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
5958
60-
# - name: Compile_with_build_mkdocs
61-
# if: matrix.gcc_v == 7
62-
# run: |
63-
# # GFORTRAN=gfortran-${{matrix.gcc_v}}
64-
# # GCOV=gcov-${{matrix.gcc_v}}
65-
# # alias gcov=$GCOV
66-
# gfortran --version
67-
# gcov --version
68-
# # build with build.sh, make documentation, run unit tests
69-
# # and perform coverage analysis
70-
# ./build.sh --coverage --skip-documentation
71-
# ./build.sh --coverage --enable-unicode"
72-
# CODE_COVERAGE="yes"
73-
# DEPLOY_DOCUMENTATION="yes"
59+
- name: Compile_with_build_mkdocs
60+
if: matrix.gcc_v == 7
61+
run: |
62+
GFORTRAN=gfortran-${{matrix.gcc_v}}
63+
GCOV=gcov-${{matrix.gcc_v}}
64+
# build with build.sh, make documentation, run unit tests
65+
# and perform coverage analysis
66+
./build.sh --coverage --skip-documentation
67+
./build.sh --coverage --enable-unicode"
68+
CODE_COVERAGE="yes"
69+
DEPLOY_DOCUMENTATION="yes"
7470
7571
- name: Compile_with_build
76-
if: matrix.use-cmake == 0
72+
if: matrix.gcc_v != 7
7773
run: |
7874
GFORTRAN=gfortran-${{matrix.gcc_v}}
7975
GCOV=gcov-${{matrix.gcc_v}}
@@ -84,7 +80,7 @@ jobs:
8480
DEPLOY_DOCUMENTATION="no"
8581
8682
- name: Compile_with_cmake
87-
if: matrix.gcc_v == 9 && matrix.use-cmake == 1
83+
if: matrix.gcc_v == 9
8884
run: |
8985
GFORTRAN=gfortran-${{matrix.gcc_v}}
9086
GCOV=gcov-${{matrix.gcc_v}}

0 commit comments

Comments
 (0)