Kaynağa Gözat

Add executor tests to CI (#302)

* Add tests to CI

* Fix yaml format
guibescos 3 yıl önce
ebeveyn
işleme
40b031a223
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7 0
      .github/workflows/remote-executor.yml

+ 7 - 0
.github/workflows/remote-executor-lints.yml → .github/workflows/remote-executor.yml

@@ -17,3 +17,10 @@ jobs:
           toolchain: nightly
           components: rustfmt, clippy
       - uses: pre-commit/action@v2.0.3
+      - name: Install Solana
+        run: |
+          sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
+          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
+