chore: add testing configuration #454
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: SN Escrow Tests | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test-SN: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install scarb | |
uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.3.1" | |
- name: Install starkliup | |
run: | | |
curl https://get.starkli.sh | sh | |
- name: Install Starkli | |
run: | | |
/home/runner/.config/.starkli/bin/starkliup --version 0.1.20 | |
sudo mv /home/runner/.config/.starkli/bin/starkli /usr/local/bin/ | |
- name: Install snFoundry | |
uses: foundry-rs/setup-snfoundry@v2 | |
with: | |
starknet-foundry-version: 0.12.0 | |
- name: Run make starknet-test | |
run: | | |
make starknet-test |