diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 539b939..875b053 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,28 @@ name: CI # push is limited to master so a same-repo pull request runs once (the -# pull_request event), not twice. A change of Markdown and docs/ files alone -# builds and tests nothing, so it runs nothing. +# pull_request event), not twice. No job reads the ignored paths, so a change +# of them alone runs nothing. Keep both lists equal. on: push: branches: [master] - paths-ignore: ['**.md', 'docs/**'] + paths-ignore: + - "**.md" + - "docs/**" + - "LICENSE" + - "logo.png" + - ".zed/**" + - "Installer/make-icon.py" + - ".github/workflows/release.yml" pull_request: - paths-ignore: ['**.md', 'docs/**'] + paths-ignore: + - "**.md" + - "docs/**" + - "LICENSE" + - "logo.png" + - ".zed/**" + - "Installer/make-icon.py" + - ".github/workflows/release.yml" jobs: build: diff --git a/AGENTS.md b/AGENTS.md index ac048e3..deb24b0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -119,7 +119,7 @@ config in `.golangci.yml`. Unit tests live beside the source (`cmd/semibase/*_te CI (`.github/workflows/ci.yml`) runs `go build` and `go test -race` on `windows-latest` and `ubuntu-latest` for every push to `master` and every pull request, unless every changed file is -Markdown or under `docs/`, and the lint in the Windows `build` job only. The database checks run +on its `paths-ignore` list, and the lint in the Windows `build` job only. The database checks run there too: the service restart in `build`, `site` and `bench` against PostgreSQL 17 and 14 containers in `linux`, the setup end to end in `installer`. Each step and what it requires: `docs/architecture/verification.md`. diff --git a/docs/architecture/verification.md b/docs/architecture/verification.md index 3427554..caf4baf 100644 --- a/docs/architecture/verification.md +++ b/docs/architecture/verification.md @@ -8,7 +8,9 @@ access checks every run ends with ([provisioning.md](./provisioning.md#what-the- the CI steps below and the release smoke runs. `.github/workflows/ci.yml` runs on every pull request and on a push to `master`, unless every -changed file matches `**.md` or `docs/**` (`paths-ignore`). Three jobs: +changed file is on its `paths-ignore` list, which names the paths no job reads: Markdown, +`docs/**`, `LICENSE`, `logo.png`, `.zed/**`, `Installer/make-icon.py` and `release.yml`. Three +jobs: | Job | Runner | Covers | | --- | --- | --- |