We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac15701 commit 05d8ce5Copy full SHA for 05d8ce5
solana/run-tests
@@ -11,4 +11,7 @@ do
11
env_flag="$(tr '[:lower:]' '[:upper:]' <<< ${filename//-/_})"
12
13
env $env_flag=1 bash -c 'anchor test --skip-build'
14
+
15
+ # kill solana validator if still running to avoid port already in use error
16
+ if pgrep solana-test-validator; then pkill solana-test-validator; fi
17
done
0 commit comments