Skip to content

Commit

Permalink
Add running integration tests to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gor027 committed Jul 21, 2022
1 parent f7a52ab commit 09add13
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Python 3
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Setup environment
run: |
sudo sh -c "echo 'deb http://security.ubuntu.com/ubuntu xenial-security main' >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install libssl1.0.0
sudo apt-get install libuv1-dev
sudo apt-get install libkrb5-dev
sudo snap install valgrind --classic
sudo apt-get install libc6-dbg
pip3 install https://github.com/scylladb/scylla-ccm/archive/master.zip
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
- name: Build
run: cmake . && make
run: cmake -DCASS_BUILD_INTEGRATION_TESTS=ON . && make

- name: Run integration tests on Scylla 5.0.0
run: valgrind --error-exitcode=123 ./cassandra-integration-tests --version=release:5.0.0 --category=CASSANDRA --verbose=ccm --gtest_filter="ClusterTests.*"

0 comments on commit 09add13

Please sign in to comment.