Skip to content

chore: skip integration tests for documentation-only changes - #216

Merged
jravani merged 1 commit into
mainfrom
chore/integration-paths
Oct 22, 2026
Merged

jravani merged 1 commit into
mainfrom
chore/integration-paths

Conversation

@jravani

@jravani jravani commented Oct 22, 2026

Copy link
Copy Markdown
Member

The integration job ran for every push and pull request, including documentation-only ones.

Change

  • The integration job moves unchanged from go.yml to its own .github/workflows/integration.yml. GitHub filters by changed paths per workflow, not per job.
  • integration.yml has paths-ignore for docs/**, **.md, mkdocs.yml, CITATION.cff, LICENSE, NOTICE, .github/ISSUE_TEMPLATE/** and .github/workflows/docs.yml, on both push and pull_request. Any other change, including sql/, data/ and testdata/, still runs it, as does a change mixing docs and code.
  • go.yml keeps the unit build and tests on every change; its README badge is unchanged.
  • codecov.yml: the comment names the new workflow. after_n_builds: 2 stays; a docs-only commit sends one upload, so Codecov posts no status for it.

No ruleset on main or dev requires a status check, so a skipped run blocks no merge.

Tests

The integration job starts PostGIS containers and runs for several
minutes, and it ran for every push and pull request, including ones
that change only documentation.

GitHub filters by changed paths per workflow, not per job, so the job
moves unchanged from go.yml to its own integration.yml with
paths-ignore for docs/, Markdown files, mkdocs.yml, CITATION.cff,
LICENSE, NOTICE, the issue templates and the docs workflow. Any other
change, including sql/, data/ and testdata/, still runs it, as does a
change mixing docs and code. go.yml's unit build and tests run on every
change as before.

No ruleset requires a status check, so a skipped run blocks no merge.
codecov.yml waits for two coverage uploads; a docs-only commit now
sends one, so Codecov posts no status for it.
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jravani
jravani merged commit 65bb8d0 into main Oct 22, 2026
8 checks passed
@jravani
jravani deleted the chore/integration-paths branch October 22, 2026 16:46
@jravani jravani mentioned this pull request Oct 23, 2026
@jravani jravani added this to the v0.12.0 milestone Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant