Skip to content

Fix test requirements and simplified tox config #72

Fix test requirements and simplified tox config

Fix test requirements and simplified tox config #72

Workflow file for this run

# This is GitHub Action for tests
name: test
on:
pull_request:
branches: [master]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11.3"]
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run pytest
env:
TOXENV: pytest
REDIS_HOST: redis
run: |
pip install -U tox
tox