Skip to content

Commit 5ba70dd

Browse files
Add test
1 parent 10d97aa commit 5ba70dd

5 files changed

Lines changed: 353 additions & 13 deletions

File tree

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,3 +302,31 @@ jobs:
302302
- name: Run auth tests
303303
run: |
304304
cargo t --features=flightsql extension_cases::auth_bearer
305+
test-http-server:
306+
name: Extension / HTTP Server
307+
runs-on: ubuntu-latest
308+
strategy:
309+
matrix:
310+
arch: [amd64]
311+
steps:
312+
- uses: actions/checkout@v2
313+
with:
314+
submodules: true
315+
- name: Cache Cargo
316+
uses: actions/cache@v4
317+
with:
318+
path: /home/runner/.cargo
319+
key: cargo-dft-cache-
320+
- name: Cache Rust dependencies
321+
uses: actions/cache@v4
322+
with:
323+
path: /home/runner/target
324+
key: target-dft-cache-
325+
- name: Setup Rust Toolchain
326+
uses: ./.github/actions/setup-rust
327+
- name: Start FlightSQL Server
328+
run: |
329+
cargo r --features=http -- serve-http &
330+
- name: Run auth tests
331+
run: |
332+
cargo t --features=http server

0 commit comments

Comments
 (0)