Update Thift Pool metrics to use class qualname #1146
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: Lint and Test | |
on: | |
push: | |
branches: [ develop, v2.5, v2.5-unsupported-gcp ] | |
pull_request: | |
branches: [ develop, v2.5, v2.5-unsupported-gcp ] | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8, 3.9] | |
container: | |
image: python:${{ matrix.python-version }} | |
services: | |
cassandra: | |
image: "cassandra:3.11" | |
memcached: | |
image: "memcached:1.5.6" | |
redis: | |
image: "redis:4.0.9" | |
zookeeper: | |
image: "zookeeper:3.4.10" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
env: | |
CASS_DRIVER_NO_EXTENSIONS: theytaketoolongtobuild | |
run: | | |
python --version | |
python -m pip install -r requirements.txt | |
- name: Lint | |
run: | | |
make lint | |
- name: Test | |
run: | | |
make test |