Skip to content

Commit

Permalink
test: solana packages test on ci - check connection
Browse files Browse the repository at this point in the history
  • Loading branch information
jadepark-dev committed Aug 30, 2024
1 parent 9292340 commit 5577f9d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/solana-packages-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ jobs:
extra_nix_config: "sandbox = false"

- name: Build and test solana-test-validator
run: nix run .#solana-test-validator
run: |
nix run .#solana-test-validator &
sleep 10
if curl --fail http://127.0.0.1:8899; then
echo "Validator is running and accessible"
else
echo "Failed to connect to the validator"
exit 1
fi
- name: Build solana-cli-env
run: nix build .#solana-cli-env --print-out-paths
Expand Down

0 comments on commit 5577f9d

Please sign in to comment.