Add vss_client_v050_compatibility test
#2
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: Implementation Tests | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| postgres-backend-tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [ ubuntu-latest ] | |
| toolchain: [ stable, 1.85.0 ] # 1.85.0 is the MSRV | |
| runs-on: ${{ matrix.platform }} | |
| timeout-minutes: 15 | |
| services: | |
| postgres: | |
| image: postgres:latest | |
| ports: | |
| - 5432:5432 | |
| env: | |
| POSTGRES_DB: postgres | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| path: vss-server | |
| - name: Install Rust toolchain | |
| run: | | |
| rustup toolchain install ${{ matrix.toolchain }} --profile minimal | |
| rustup default ${{ matrix.toolchain }} | |
| - name: Run postgres backend test suite | |
| run: | | |
| cd vss-server/rust/impls | |
| cargo test -- --test-threads=1 |