Skip to content

Commit

Permalink
ci: Avoid running redundant pipelines
Browse files Browse the repository at this point in the history
* Build motis-proxy only if changed
* test import only for changed feeds
  • Loading branch information
jbruechert committed Feb 24, 2024
1 parent 26ed746 commit 9111ac4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/motis-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@

name: MOTIS Proxy Build

on: [push, pull_request]
on:
push:
paths:
- "motis-proxy/**"
pull_request:
paths:
- "motis-proxy/**"


jobs:
check:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test-import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

name: Verfy new data can be imported

on: [pull_request]
on:
pull_request:
paths:
- "feeds/**"

jobs:
test-import:
Expand Down

0 comments on commit 9111ac4

Please sign in to comment.