From 40b031a22396b1f48bc12574b427c6e7423aa7bd Mon Sep 17 00:00:00 2001 From: guibescos <59208140+guibescos@users.noreply.github.com> Date: Thu, 22 Sep 2022 13:50:48 -0500 Subject: [PATCH] Add executor tests to CI (#302) * Add tests to CI * Fix yaml format --- .../{remote-executor-lints.yml => remote-executor.yml} | 7 +++++++ 1 file changed, 7 insertions(+) rename .github/workflows/{remote-executor-lints.yml => remote-executor.yml} (54%) diff --git a/.github/workflows/remote-executor-lints.yml b/.github/workflows/remote-executor.yml similarity index 54% rename from .github/workflows/remote-executor-lints.yml rename to .github/workflows/remote-executor.yml index 0b77756d..357ece62 100644 --- a/.github/workflows/remote-executor-lints.yml +++ b/.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 + \ No newline at end of file