Add support of redis clusters (#236) #31
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: Run Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Run tests | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install locales | |
run: sudo apt-get install -y locales language-pack-it | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U --upgrade-strategy=eager --pre -e .[testsuite] | |
- name: Start memcached | |
uses: niden/actions-memcached@v7 | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
- name: Test with pytest | |
run: | | |
pytest -vv |