Skip to content

Commit

Permalink
CI: add starknet contract testing with snforge
Browse files Browse the repository at this point in the history
  • Loading branch information
ptisserand committed Feb 7, 2024
1 parent b51af1f commit 77742ae
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,21 @@ env:
SCARB_VERSION: v0.6.0

jobs:
build-starknet-contracts:
test-starknet-contracts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
tool-versions: apps/blockchain/starknet/.tool-versions
- uses: foundry-rs/setup-snfoundry@v3
with:
tool-versions: apps/blockchain/starknet/.tool-versions
- run: scarb build
working-directory: apps/blockchain/starknet

- run: snforge test
working-directory: apps/blockchain/starknet


test-ethereum-contracts:
strategy:
Expand Down

0 comments on commit 77742ae

Please sign in to comment.