Skip to content

Scylla Calypso

Scylla Calypso #41

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