Skip to content

ci: test in kind cluster #1251

ci: test in kind cluster

ci: test in kind cluster #1251

Workflow file for this run

name: Python Test
on:
push:
branches: [master]
paths:
- "**/*.py"
- ".github/workflows/*.yml"
pull_request:
paths:
- "**/*.py"
- ".github/workflows/*.yml"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
services:
redis:
image: redis:7
ports:
- 6481:6379
rabbitmq:
image: rabbitmq:3.12
ports:
- 5784:5672
postgres:
image: postgres:16
ports:
- 5544:5432
env:
POSTGRES_USER: remoulade
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: test
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -e '.[dev]'
- name: Test
run: pytest --benchmark-skip