Run CI only for the components a push changes

Desktop-only patches no longer run the explorer and Rust checks, and
explorer patches no longer run the desktop e2e suite.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-13 17:23:20 +02:00
parent af75a7010e
commit 520e20c835
10 changed files with 95 additions and 0 deletions
+7
View File
@@ -1,7 +1,14 @@
name: desktop-e2e
# Only desktop changes, or changes to this workflow, run it.
on:
pull_request:
paths:
- "desktop/**"
- ".github/workflows/desktop-e2e.yml"
push:
paths:
- "desktop/**"
- ".github/workflows/desktop-e2e.yml"
workflow_dispatch:
env:
+7
View File
@@ -1,7 +1,14 @@
name: desktop-lint
# Only desktop changes, or changes to this workflow, run it.
on:
pull_request:
paths:
- "desktop/**"
- ".github/workflows/desktop-lint.yml"
push:
paths:
- "desktop/**"
- ".github/workflows/desktop-lint.yml"
workflow_dispatch:
env:
+7
View File
@@ -1,7 +1,14 @@
name: desktop-unit-test
# Only desktop changes, or changes to this workflow, run it.
on:
pull_request:
paths:
- "desktop/**"
- ".github/workflows/desktop-unit-test.yml"
push:
paths:
- "desktop/**"
- ".github/workflows/desktop-unit-test.yml"
workflow_dispatch:
env:
+11
View File
@@ -1,6 +1,17 @@
name: explorer-build
# Desktop and Rust-only changes don't affect the web app: its tests run
# against a pinned, pre-built radicle-httpd.
on:
push:
paths-ignore:
- "desktop/**"
- "crates/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain"
- ".cargo/**"
- ".github/workflows/desktop-*.yml"
- ".github/workflows/explorer-rust.yml"
workflow_dispatch:
env:
+11
View File
@@ -1,6 +1,17 @@
name: explorer-check
# Desktop and Rust-only changes don't affect the web app: its tests run
# against a pinned, pre-built radicle-httpd.
on:
push:
paths-ignore:
- "desktop/**"
- "crates/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain"
- ".cargo/**"
- ".github/workflows/desktop-*.yml"
- ".github/workflows/explorer-rust.yml"
workflow_dispatch:
env:
+11
View File
@@ -1,6 +1,17 @@
name: explorer-e2e
# Desktop and Rust-only changes don't affect the web app: its tests run
# against a pinned, pre-built radicle-httpd.
on:
push:
paths-ignore:
- "desktop/**"
- "crates/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain"
- ".cargo/**"
- ".github/workflows/desktop-*.yml"
- ".github/workflows/explorer-rust.yml"
workflow_dispatch:
env:
@@ -1,6 +1,17 @@
name: explorer-http-client-unit-test
# Desktop and Rust-only changes don't affect the web app: its tests run
# against a pinned, pre-built radicle-httpd.
on:
push:
paths-ignore:
- "desktop/**"
- "crates/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain"
- ".cargo/**"
- ".github/workflows/desktop-*.yml"
- ".github/workflows/explorer-rust.yml"
workflow_dispatch:
env:
+8
View File
@@ -1,6 +1,14 @@
name: explorer-rust
# Only changes to the Rust workspace, or to this workflow, run it.
on:
push:
paths:
- "crates/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain"
- ".cargo/**"
- ".github/workflows/explorer-rust.yml"
workflow_dispatch:
env:
+11
View File
@@ -1,6 +1,17 @@
name: explorer-unit-test
# Desktop and Rust-only changes don't affect the web app: its tests run
# against a pinned, pre-built radicle-httpd.
on:
push:
paths-ignore:
- "desktop/**"
- "crates/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain"
- ".cargo/**"
- ".github/workflows/desktop-*.yml"
- ".github/workflows/explorer-rust.yml"
workflow_dispatch:
env:
+11
View File
@@ -1,6 +1,17 @@
name: explorer-visual
# Desktop and Rust-only changes don't affect the web app: its tests run
# against a pinned, pre-built radicle-httpd.
on:
push:
paths-ignore:
- "desktop/**"
- "crates/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain"
- ".cargo/**"
- ".github/workflows/desktop-*.yml"
- ".github/workflows/explorer-rust.yml"
workflow_dispatch:
env: