Skip to content

Commit

Permalink
fix: gh-actions fail when tests dont pass
Browse files Browse the repository at this point in the history
  • Loading branch information
LuCCoelho committed Oct 10, 2023
1 parent 5b6fb0c commit 96d947c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run_tests_dart.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/bin/bash

set -euo pipefail

cd dart/

for exercise in *; do
[ -d $exercise ] && echo "Testing $exercise";
cd $exercise;
dart pub get;
dart format --output=none --set-exit-if-changed .;
dart analyze;
dart test;
cd ..;
Expand Down

0 comments on commit 96d947c

Please sign in to comment.