Explorar el Código

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 hace 3 años
padre
commit
e4160b2f08
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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
-        
+