Skip to content

Commit

Permalink
Add clarinet check step to romeo test script (#247)
Browse files Browse the repository at this point in the history
* Add clarinet check step to romeo test script

* exit on failure and add comments
  • Loading branch information
AshtonStephens authored Oct 6, 2023
1 parent 8f4ec08 commit 79f2c17
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions romeo/asset-contract/scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
#!/bin/sh

# Setup directories.
mkdir -p .test
mkdir -p .coverage
rm -r .test/*

# Exit on next failure.
set -e

# Verify syntax.
clarinet check

# Generate tests.
clarinet run --allow-write --allow-read ext/generate-tests.ts

# Test with coverage.
clarinet test --coverage .coverage/lcov.info .test

0 comments on commit 79f2c17

Please sign in to comment.