Bump pytest from 7.4.4 to 8.3.3 #1797
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: | |
fail-fast: false | |
matrix: | |
python-version: ['3.9', '3.10', '3.11', '3.12'] | |
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
path: ~/.cache/pypoetry | |
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} | |
restore-keys: | | |
${{ runner.os }}-poetry- | |
- name: Update PATH | |
run: 'echo "$HOME/.local/bin" >> "$GITHUB_PATH"' | |
- name: Install dependencies | |
env: | |
CASS_DRIVER_NO_EXTENSIONS: theytaketoolongtobuild | |
run: | | |
pip install pipx | |
pipx install poetry==1.8.2 | |
make .venv | |
- name: Lint | |
run: | | |
make lint | |
- name: Test | |
run: | | |
make test |