diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65ad6218..26035b7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,18 @@ name: Test on: push: + # Only run the (slow) full tests if FORM source code, tests or this file change. + # The "deploy" workflow still compiles FORM and runs basic `make check` unconditionally. + paths: + - "sources/**" + - "check/**" + - ".github/workflows/test.yml" pull_request: + paths: + - "sources/**" + - "check/**" + - ".github/workflows/test.yml" + # Manually triggered CI runs will still run the full set of tests. workflow_dispatch: env: