We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3310fd5 commit f531526Copy full SHA for f531526
.github/workflows/solana-native.yml
@@ -135,6 +135,17 @@ jobs:
135
return 1
136
fi
137
138
+ # Run Rust unit tests
139
+ if [ -d "program" ]; then
140
+ echo "Running Rust unit tests for $project"
141
+ if ! cargo test --manifest-path=./program/Cargo.toml; then
142
+ echo "::error::Rust unit tests failed for $project"
143
+ echo "$project: Rust unit tests failed with $solana_version" >> $GITHUB_WORKSPACE/failed_projects.txt
144
+ cd - > /dev/null
145
+ return 1
146
+ fi
147
148
+
149
# Test
150
if ! pnpm build-and-test; then
151
echo "::error::tests failed for $project"
0 commit comments