Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
4 changes: 3 additions & 1 deletion docs/architecture/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| --- | --- | --- |
Expand Down
Loading