Set custom properties and add --enable-group-commit
(#130)
#69
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: 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" |