Skip to content

Commit 25690a4

Browse files
committed
CI: try coverage with gcc 6
1 parent f94ce05 commit 25690a4

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/CI.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,15 @@ jobs:
5656
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
5757
--slave /usr/bingcov gcov /usr/bin/gcov-${GCC_V}
5858
59-
- name: Compile_with_cmake
59+
- name: Compile_with_build_mkdocs
6060
if: matrix.gcc_v == 7
6161
run: |
62-
GFORTRAN=gfortran-${{ matrix.gcc_v }}
63-
GCOV=gcov-${{ matrix.gcc_v }}
64-
# CMake build with unit tests, no documentation, with coverage analysis
65-
# No unicode so that coverage combined with the build script will cover unicode
66-
# and non-unicode code paths
67-
mkdir cmake-build
68-
cd cmake-build
69-
cmake ..
70-
make -j 4 check
62+
# build with build.sh, make documentation, run unit tests
63+
# and perform coverage analysis
64+
./build.sh --coverage --skip-documentation
65+
./build.sh --coverage --enable-unicode"
66+
CODE_COVERAGE="yes"
67+
DEPLOY_DOCUMENTATION="yes"
7168
7269
- name: Compile_with_build
7370
if: matrix.gcc_v == 8
@@ -80,16 +77,18 @@ jobs:
8077
CODE_COVERAGE="no"
8178
DEPLOY_DOCUMENTATION="no"
8279
83-
- name: Compile_with_build_mkdocs
80+
- name: Compile_with_cmake
8481
if: matrix.gcc_v == 9
8582
run: |
86-
# build with build.sh, make documentation, run unit tests
87-
# and perform coverage analysis
88-
./build.sh --coverage --skip-documentation
89-
./build.sh --coverage --enable-unicode"
90-
CODE_COVERAGE="yes"
91-
DEPLOY_DOCUMENTATION="yes"
92-
83+
GFORTRAN=gfortran-${{ matrix.gcc_v }}
84+
GCOV=gcov-${{ matrix.gcc_v }}
85+
# CMake build with unit tests, no documentation, with coverage analysis
86+
# No unicode so that coverage combined with the build script will cover unicode
87+
# and non-unicode code paths
88+
mkdir cmake-build
89+
cd cmake-build
90+
cmake ..
91+
make -j 4 check
9392
9493
# - name: Run tests
9594
# run: |

0 commit comments

Comments
 (0)