Skip to content

#186 - add new build system, get it working #95

#186 - add new build system, get it working

#186 - add new build system, get it working #95

Workflow file for this run

name: Scylla Rust Tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
- 'feature/**'
env:
SOURCE_DATABASE_URL: postgresql://postgres:password@127.0.0.1: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
working-directory: compose
run: docker compose run -P -d odyssey-timescale
- name: Generate prisma
run: cargo prisma generate
working-directory: scylla-server
- name: Deploy prisma
run: cargo prisma migrate deploy
working-directory: scylla-server
- name: Run tests
working-directory: scylla-server
run: cargo test -- --test-threads=1