scylla_node: add ScyllaNode.dump_sstables() #757
Workflow file for this run
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: CCM Integration tests | |
on: | |
push: | |
branches: | |
- master | |
- next* | |
pull_request: | |
branches: | |
- next* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Cache pip | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-test.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install python2 | |
pip install -U pip setuptools | |
pip install . | |
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi | |
- name: Cache binary versions | |
id: cache-versions | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.ccm/repository | |
~/.ccm/scylla-repository | |
key: ${{ runner.os }}-binaries | |
- name: Download versions | |
if: steps.cache-versions.outputs.cache-hit != 'true' | |
run: | | |
if [ ! -f ~/.ccm/scylla-repository/unstable/master/2023-04-13T13_31_00Z ]; then | |
RELOC_VERSION="2023-04-13T13:31:00Z" | |
./ccm create temp -n 1 --scylla --version unstable/master:${RELOC_VERSION} | |
./ccm remove | |
fi | |
./ccm create temp-cas -n 1 --version 3.11.4 > /dev/null | |
./ccm remove | |
- name: Test with pytest | |
run: | | |
python -m pytest ./tests -x | |
- name: Copy logs/results | |
if: contains(github.event.pull_request.labels.*.name, 'PR-upload-log') | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ccm-tests-log | |
path: tests/test_results/ |