Skip to content

Commit

Permalink
Improve readability of action output
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed Apr 30, 2024
1 parent 99a5081 commit 1ace61c
Showing 1 changed file with 10 additions and 1 deletion.
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 -qiEv 'error|warn'
grep -qiEv 'error|warn' build.log

0 comments on commit 1ace61c

Please sign in to comment.