ci: improve test workflow configuration

- Prevent test workflow from running on tag pushes to avoid
  duplicate runs during releases
- Rename job from "build" to "test-matrix" for clarity
This commit is contained in:
Mike 2025-02-24 19:22:03 -08:00
parent 7e572801b0
commit 682cf61840

View file

@ -1,10 +1,15 @@
# https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
name: test
"on": [push, pull_request, workflow_dispatch]
"on":
push:
branches:
- '**'
pull_request:
workflow_dispatch:
jobs:
build:
test-matrix:
runs-on: ubuntu-latest
strategy:
matrix: