django-rosetta/.github/workflows/test.yml
2022-05-18 10:56:39 +02:00

27 lines
648 B
YAML

name: Test Django Rosetta
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v1
- uses: niden/actions-memcached@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install gettext
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox