Skip to content

feat: formal verification (#5) #19

feat: formal verification (#5)

feat: formal verification (#5) #19

name: Integration Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup FoundationDB
uses: foundationdb-rs/[email protected]
with:
version: "7.3.27"
- name: Setup buf
uses: bufbuild/[email protected]
- name: Setup protoc
run: sudo apt-get install protobuf-compiler
- name: Generate buf
run: cd crates/valv && buf generate
- name: Build
run: cargo build
- name: Run Valv tests
run: cargo test -p valv
- name: Run KMS server and integration tests
run: |
cd examples/google-kms && cargo run &
SERVER_PID=$!
sleep 1
cargo test -- --nocapture
kill $SERVER_PID