Pārlūkot izejas kodu

Run remote exec CI only if it's changed (#352)

* Run remote exec CI only if it's changed

To save more GH actions time + have faster CI checks (sometimes it takes longer than tilt!)

* Update remote-executor.yml
Ali Behjati 3 gadi atpakaļ
vecāks
revīzija
e4160b2f08
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      .github/workflows/remote-executor.yml

+ 3 - 2
.github/workflows/remote-executor.yml

@@ -2,9 +2,10 @@ name: Check Remote Executor
 
 on:
   pull_request:
+    paths: [ pythnet/remote-executor/** ]
   push:
     branches: [main]
-
+    paths: [ pythnet/remote-executor/** ]
 jobs:
   pre-commit:
     runs-on: ubuntu-latest
@@ -23,4 +24,4 @@ jobs:
           echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
       - name: Run executor tests
         run: cargo test-bpf --manifest-path ./pythnet/remote-executor/Cargo.toml
-        
+