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:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
env:
|
||||
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>
|
||||
|
|
|
@ -2,7 +2,6 @@ name: Clippy Check
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
types: [opened, reopened, synchronize, ready_for_review]
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -2,7 +2,6 @@ name: Profiling Changes
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
|
2
.github/workflows/library-rawkit.yml
vendored
2
.github/workflows/library-rawkit.yml
vendored
|
@ -7,8 +7,6 @@ on:
|
|||
paths:
|
||||
- "libraries/rawkit/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "libraries/rawkit/**"
|
||||
|
||||
|
|
2
.github/workflows/website.yml
vendored
2
.github/workflows/website.yml
vendored
|
@ -7,8 +7,6 @@ on:
|
|||
paths:
|
||||
- website/**
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- website/**
|
||||
env:
|
||||
|
|
|
@ -227,8 +227,9 @@ impl NodeRuntime {
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
let scoped_network = wrap_network_in_scope(graph, self.editor_api.clone());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue