Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test error check case insensitive #4

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@ jobs:
run: |
echo Linux version:
lsb_release -a
echo
echo Solana version:
solana -V
echo
echo Anchor version:
anchor -V
echo
echo build-sbf version:
cargo build-sbf --version
echo
echo Path:
echo $PATH | tr ':' '\n' | sort

Expand All @@ -51,6 +55,11 @@ jobs:

- name: Test the Movie Review project builds and tests pass
run: |
npm i
echo
echo "Building the project..."
anchor test 2>&1 | tee -a build.log
echo
echo "Checking for errors..."
cat build.log
cat build.log | grep -qEv 'error|warn'
grep -qiEv 'error|warn' build.log