Updated test matrix. #110
Workflow file for this run
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: Django Thumbnails | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
strategy: | |
matrix: | |
python-version: [3.10.9, 3.11, 3.12] | |
django-version: [3.2.25, 4.0, 4.1.4, 4.2.14, 5.0.7] | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 | |
pip3 install Django==${{ matrix.django-version }} times da-vinci pillow redis shortuuid | |
sudo apt-get install -qq optipng | |
env: | |
REDIS_HOST: localhost | |
REDIS_PORT: 6379 | |
- name: Test check | |
run: | | |
make test |