Skip to content

Custom configuration for ScalarDB tests #62

Custom configuration for ScalarDB tests

Custom configuration for ScalarDB tests #62

Workflow file for this run

name: Test with Docker
on:
push:
branches:
- master
pull_request:
jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Setup Cache
uses: satackey/[email protected]
# Ignore the failure of a step and avoid terminating the job.
continue-on-error: true
- name: docker-compose up
run: |
cd docker
docker-compose up -d
- name: Cassandra test
run: |
docker exec jepsen-control bash -c "cd /scalar-jepsen/cassandra && lein run test --workload lwt --nodes n1,n2,n3 --ssh-private-key ~/.ssh/id_rsa"
- name: ScalarDB test
run: |
docker exec jepsen-control bash -c "cd /scalar-jepsen/cassandra && lein install"
docker exec jepsen-control bash -c "cd /scalar-jepsen/scalardb && lein run test --workload transfer --nodes n1,n2,n3 --ssh-private-key ~/.ssh/id_rsa"