django-rosetta/.github/workflows/test.yml
2021-04-10 17:36:28 +02:00

27 lines
650 B
YAML

name: Test Django Rosetta
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
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