File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,10 @@ jobs:
16
16
# well on Windows or Mac. You can convert this to a matrix build if you need
17
17
# cross-platform coverage.
18
18
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
19
- name : ${{ matrix.os }}, gfortran-${{ matrix.ver }}
20
- strategy :
21
- os : [ubuntu-latest, macos-latest]
22
-
23
- runs-on : ${{ matrix.os }}
19
+ runs-on : ubuntu-latest
24
20
25
21
steps :
26
22
- uses : actions/checkout@v2
27
-
28
- - name : Install packages (macOS)
29
- if : contains(matrix.os,'macos')
30
- run : |
31
- brew update || brew install lcov || gem install coveralls-lcov
32
23
33
24
- name : Configure CMake
34
25
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
44
35
# Execute tests defined by the CMake configuration.
45
36
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
46
37
run : ctest -V
47
-
38
+
39
+ - name : Install dependencies
40
+ shell : bash
41
+ run : sudo apt-get update ; sudo apt-get install lcov
42
+
48
43
- name : Coverage
49
44
run : cd build && lcov -c -d . -o cov.txt && lcov -e cov.txt "*/regtools/src/*" -o coverage.run.filtered.1 && lcov -r coverage.run.filtered.1 "*src/utils/*" "*/tests/*" -o coverage.run.filtered
50
45
You can’t perform that action at this time.
0 commit comments