feat: Added in-memory storage for testing purposes #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: In-Memory VSS Server CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-in-memory: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Create in-memory config | |
| run: | | |
| mkdir -p rust/server | |
| cat > rust/server/vss-server-config.toml <<EOF | |
| [server_config] | |
| host = "127.0.0.1" | |
| port = 8080 | |
| store_type = "in_memory" | |
| EOF | |
| - name: Build server | |
| working-directory: rust/ | |
| run: cargo build --all --release | |
| - name: Run in-memory store tests | |
| working-directory: rust/ | |
| run: cargo test --package impls --lib -- in_memory_store::tests --nocapture |