Scylla server rust 2: Recievers and handlers #10
Workflow file for this run
This file contains 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: Scylla Rust Tests | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
- 'feature/**' | |
env: | |
SOURCE_DATABASE_URL: postgresql://postgres:[email protected]:5432/timescaledb cargo run | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Run db | |
run: docker compose run -P -d odyssey-timescale | |
- name: Generate prisma | |
run: cargo prisma generate | |
working-directory: scylla-server-rust | |
- name: Deploy prisma | |
run: cargo prisma migrate deploy | |
working-directory: scylla-server-rust | |
- name: Run tests | |
working-directory: scylla-server-rust | |
run: cargo test -- --test-threads=1 |