Added Test core test cases #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main # or the branch you want to monitor for commits | |
pull_request: | |
branches: | |
- main # or the branch for which you want PR testing | |
# Optional: Add on: [commit] to test specifically on commit | |
permissions: read-all | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
- uses: foundry-rs/setup-snfoundry@v3 | |
with: | |
starknet-foundry-version: 0.31.0 | |
- name: Run cairo tests | |
run: snforge test |