From 682cf61840b81c261482e6a75f12e3ac2a709abd Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 24 Feb 2025 19:22:03 -0800 Subject: [PATCH] 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 --- .github/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 359872f..223e85f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: