Skip to content

Commit 1c79451

Browse files
committed
disable coverage for now in CI
See #593
1 parent c873f26 commit 1c79451

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

.github/workflows/CI.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ jobs:
1616
FC: gfortran-${{matrix.gcc_v}}
1717
GCC_V: ${{matrix.gcc_v}}
1818

19+
#
20+
# GCC version
21+
#
22+
# 9 - CMake build with unit tests, no documentation, with coverage analysis. no unicode
23+
# 10 - build.sh - no documentation, with and without unicode.
24+
# 11 - FPM
25+
# 12 - build.sh with documentation, unit tests and coverage analysis. doc deployment
26+
#
27+
# NOTE: coverage disabled for now
28+
1929
steps:
2030

2131
- name: Checkout code
@@ -55,7 +65,7 @@ jobs:
5565
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
5666
5767
- name: Compile_with_build
58-
if: matrix.gcc_v != 12 && matrix.gcc_v != 11
68+
if: matrix.gcc_v == 10
5969
run: |
6070
GFORTRAN=gfortran-${{matrix.gcc_v}}
6171
GCOV=gcov-${{matrix.gcc_v}}
@@ -141,8 +151,10 @@ jobs:
141151
run: |
142152
GFORTRAN=gfortran-${{matrix.gcc_v}}
143153
GCOV=gcov-${{matrix.gcc_v}}
144-
./build.sh --coverage --skip-documentation
145-
./build.sh --coverage --enable-unicode
154+
# ./build.sh --coverage --skip-documentation # DISABLED FOR NOW
155+
# ./build.sh --coverage --enable-unicode
156+
./build.sh --skip-documentation
157+
./build.sh --enable-unicode
146158
147159
- name: Deploy Documentation for master
148160
if: matrix.gcc_v == 12 && github.ref == 'refs/heads/master'
@@ -173,10 +185,10 @@ jobs:
173185
target-folder: prev/${{github.ref_name}} # deploy to a version-specific folder
174186
single-commit: true
175187

176-
- name: Upload coverage
177-
if: matrix.gcc_v == 12
178-
run: |
179-
rm json_*.F90-*unicode.gcov || true
180-
mv json_*.F90.gcov src/
181-
mv jf_test*.[fF]90.gcov src/tests/
182-
bash <(curl -s https://codecov.io/bash) -v -X $GCOV
188+
# - name: Upload coverage
189+
# if: matrix.gcc_v == 12
190+
# run: |
191+
# rm json_*.F90-*unicode.gcov || true
192+
# mv json_*.F90.gcov src/
193+
# mv jf_test*.[fF]90.gcov src/tests/
194+
# bash <(curl -s https://codecov.io/bash) -v -X $GCOV

0 commit comments

Comments
 (0)