improve taskexec admin listing performance #279
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: test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Tests dj${{ matrix.dj }} / ${{ matrix.db }} / py${{ matrix.py }} | |
runs-on: ubuntu-latest | |
strategy: | |
# all supported django version on lowest/highest supported python | |
# see https://www.djangoproject.com/download/#supported-versions | |
# and https://docs.djangoproject.com/en/4.2/faq/install/#what-python-version-can-i-use-with-django | |
matrix: | |
include: | |
- { dj: "3.2", db: "sqlite", py: "3.6" } | |
- { dj: "3.2", db: "sqlite", py: "3.10" } | |
- { dj: "3.2", db: "postgres", py: "3.6" } | |
- { dj: "3.2", db: "postgres", py: "3.10" } | |
- { dj: "4.1", db: "sqlite", py: "3.8" } | |
- { dj: "4.1", db: "sqlite", py: "3.11" } | |
- { dj: "4.1", db: "postgres", py: "3.8" } | |
- { dj: "4.1", db: "postgres", py: "3.11" } | |
- { dj: "4.2", db: "sqlite", py: "3.8" } | |
- { dj: "4.2", db: "sqlite", py: "3.11" } | |
- { dj: "4.2", db: "postgres", py: "3.8" } | |
- { dj: "4.2", db: "postgres", py: "3.11" } | |
fail-fast: false | |
env: | |
TOOSIMPLEQ_DJ_VERSION: ${{ matrix.dj }} | |
TOOSIMPLEQ_PY_VERSION: ${{ matrix.py }} | |
TOOSIMPLEQ_TEST_DB: ${{ matrix.db }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Lint with pre-commit | |
uses: pre-commit/action@v2.0.2 | |
- name: Docker build | |
run: docker compose build | |
- name: Run tests | |
run: docker compose run django test |