Skip to content

Commit 682cf61

Browse files
committed
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
1 parent 7e57280 commit 682cf61

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
22
name: test
33

4-
"on": [push, pull_request, workflow_dispatch]
4+
"on":
5+
push:
6+
branches:
7+
- '**'
8+
pull_request:
9+
workflow_dispatch:
510

611
jobs:
7-
build:
12+
test-matrix:
813
runs-on: ubuntu-latest
914
strategy:
1015
matrix:

0 commit comments

Comments
 (0)