mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
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:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user