Skip to content

Commit 5003f40

Browse files
committed
ci: add ech-test coverage to main CI
1 parent 202a0b3 commit 5003f40

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,13 @@ jobs:
127127
if: runner.os == 'Linux' # For 'nm'
128128
run: |
129129
! nm build/tests/client | grep '__asan_init'
130-
! nm build/tests/server | grep '__asan_init'
130+
! nm build/tests/server | grep '__asan_init'
131+
132+
- name: Run ECH connect test
133+
if: matrix.crypto == 'aws-lc-rs' # No HPKE in ring
134+
run: |
135+
cmake --build build --target ech-test > ech-test.log
136+
grep 'sni=encrypted' ech-test.log
131137
132138
# Our integration tests rely on a built-in provider being enabled.
133139
# Double-check the library/unit tests work without any providers to
@@ -244,6 +250,12 @@ jobs:
244250
- name: Integration test
245251
run: cmake --build build --config "${{matrix.config}}" --target integration-test
246252

253+
- name: Run ECH connect test
254+
if: matrix.crypto == 'aws-lc-rs' # No HPKE in ring
255+
run: |
256+
cmake --build build --target ech-test > ech-test.log
257+
grep 'sni=encrypted' ech-test.log
258+
247259
ensure-header-updated:
248260
runs-on: ubuntu-latest
249261
defaults:

0 commit comments

Comments
 (0)