Skip to content

Merge pull request #747 from jhao104/dependabot/pip/requests-2.31.0 #6

Merge pull request #747 from jhao104/dependabot/pip/requests-2.31.0

Merge pull request #747 from jhao104/dependabot/pip/requests-2.31.0 #6

name: Comprehensive Tests
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
services:
redis:
image: redis:latest
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox-uv
- name: Run tests with tox
run: |
TOX_ENV="py$(echo ${{ matrix.python-version }} | tr -d '.')"
tox -e $TOX_ENV
env:
DB_CONN: redis://localhost:6379/0