Skip to content

Commit

Permalink
Merge pull request #29 from hernangonzalez/main
Browse files Browse the repository at this point in the history
Fix tests runner
  • Loading branch information
nicoan authored Dec 19, 2024
2 parents 09670a0 + 2bc8a12 commit 378870a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Course.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[test]
level = "1"
level = "0"
9 changes: 7 additions & 2 deletions run_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ def select_stage
# Run the tests
puts "Running tests..."
stage = select_stage
system "cargo test --release --features stage#{stage}"
test_resut = system "cargo test --release --features stage#{stage}"

# Congrats!
puts "All Done!"
if test_resut
puts "All Done!"
else
puts "Oops, something went wrong!"
exit 1
end

0 comments on commit 378870a

Please sign in to comment.