Skip to content

Commit f027852

Browse files
authored
Merge pull request #207 from denizzzka/cov_text_run_fix
Fix coverage run for integration_tests
2 parents 548183e + 160d7cf commit f027852

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
stat_type: [static, dynamic, dynamic-unmanaged]
8787
dc: ${{ fromJSON(needs.setup.outputs.compilers) }}
8888
include:
89-
- build: unittest-cov
89+
- build: tests_and_cov
9090
dc: dmd-latest
9191
stat_type: none
9292
steps:
@@ -111,19 +111,18 @@ jobs:
111111
dub fetch doveralls
112112
shell: bash
113113
- name: Build / test
114-
if: matrix.build != 'unittest-cov'
114+
if: matrix.build != 'tests_and_cov'
115115
run: |
116116
dub run dpq2:integration_tests --build=$BUILD --config=$STAT_TYPE -- --conninfo="$CONN_STRING"
117117
shell: bash
118118
- name: Build / test with coverage
119-
if: matrix.build == 'unittest-cov'
119+
if: matrix.build == 'tests_and_cov'
120120
run: |
121121
dub run dpq2:integration_tests --build=unittest-cov -- --conninfo="$CONN_STRING"
122+
dub run dpq2:integration_tests --build=cov -- --conninfo="$CONN_STRING"
122123
dub run dpq2:example --build=release -- --conninfo="$CONN_STRING"
123124
dub run doveralls
124125
shell: bash
125126
- name: Upload coverage data
126-
if: matrix.build == 'unittest-cov'
127+
if: matrix.build == 'tests_and_cov'
127128
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
128-
129-

0 commit comments

Comments
 (0)