Skip to content

Commit

Permalink
tests: use snforge for the utils package (#802)
Browse files Browse the repository at this point in the history
* tests: move unit tests

* fmt

* add snforge to ci
  • Loading branch information
enitrat authored Jun 27, 2024
1 parent 767b5ff commit c7e773c
Show file tree
Hide file tree
Showing 11 changed files with 2,310 additions and 2,303 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v3
- uses: foundry-rs/setup-snfoundry@v3
- uses: software-mansion/setup-scarb@v1
- run: scarb fmt --check
- run: scarb build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
target
.idea/
node_modules/
*.snfoundry_cache
4 changes: 4 additions & 0 deletions crates/utils/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ fmt.workspace = true

[dev-dependencies]
cairo_test.workspace = true

[scripts]
test = "snforge test --max-n-steps 4294967295"
test-profiling = "snforge test --max-n-steps 4294967295 --build-profile"
Loading

0 comments on commit c7e773c

Please sign in to comment.