mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-07 15:55:00 +00:00
Run CI for non master branches (#2763)
* ci: run CI on PRs not targeting master * fix warnings when compiling tests
This commit is contained in:
parent
d581319ee8
commit
9cf8d2cd05
6 changed files with 3 additions and 10 deletions
2
.github/workflows/build-dev-and-ci.yml
vendored
2
.github/workflows/build-dev-and-ci.yml
vendored
|
@ -5,8 +5,6 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
INDEX_HTML_HEAD_REPLACEMENT: <script defer data-domain="dev.graphite.rs" data-api="https://graphite.rs/visit/event" src="https://graphite.rs/visit/script.hash.js"></script>
|
INDEX_HTML_HEAD_REPLACEMENT: <script defer data-domain="dev.graphite.rs" data-api="https://graphite.rs/visit/event" src="https://graphite.rs/visit/script.hash.js"></script>
|
||||||
|
|
|
@ -2,7 +2,6 @@ name: Clippy Check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
|
||||||
types: [opened, reopened, synchronize, ready_for_review]
|
types: [opened, reopened, synchronize, ready_for_review]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -2,7 +2,6 @@ name: Profiling Changes
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
2
.github/workflows/library-rawkit.yml
vendored
2
.github/workflows/library-rawkit.yml
vendored
|
@ -7,8 +7,6 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- "libraries/rawkit/**"
|
- "libraries/rawkit/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths:
|
paths:
|
||||||
- "libraries/rawkit/**"
|
- "libraries/rawkit/**"
|
||||||
|
|
||||||
|
|
2
.github/workflows/website.yml
vendored
2
.github/workflows/website.yml
vendored
|
@ -7,8 +7,6 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- website/**
|
- website/**
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths:
|
paths:
|
||||||
- website/**
|
- website/**
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -227,8 +227,9 @@ impl NodeRuntime {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn update_network(&mut self, mut graph: NodeNetwork) -> Result<ResolvedDocumentNodeTypesDelta, String> {
|
async fn update_network(&mut self, mut graph: NodeNetwork) -> Result<ResolvedDocumentNodeTypesDelta, String> {
|
||||||
#[cfg(not(test))]
|
if cfg!(not(test)) {
|
||||||
preprocessor::expand_network(&mut graph, &self.substitutions);
|
preprocessor::expand_network(&mut graph, &self.substitutions);
|
||||||
|
}
|
||||||
|
|
||||||
let scoped_network = wrap_network_in_scope(graph, self.editor_api.clone());
|
let scoped_network = wrap_network_in_scope(graph, self.editor_api.clone());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue