Test/trigger fails test Increase Decrease Close (#679) #1542
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, pull_request] | |
env: | |
SCARB_VERSION: 2.3.1 | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: ${{ env.SCARB_VERSION }} | |
- uses: foundry-rs/setup-snfoundry@v2 | |
with: | |
starknet-foundry-version: 0.10.1 | |
- name: Run cairo tests | |
run: snforge test | |
# - name: Set up Scarb | |
#ses: software-mansion/setup-scarb@v1 | |
# Install Scarb from a nightly release | |
# run: | | |
# NIGHTLY_DATE=$(echo ${SCARB_VERSION} | cut -d '+' -f 2) | |
# wget https://github.com/software-mansion/scarb-nightlies/releases/download/${NIGHTLY_DATE}/scarb-${NIGHTLY_DATE}-x86_64-unknown-linux-gnu.tar.gz | |
# tar -xvf scarb-${NIGHTLY_DATE}-x86_64-unknown-linux-gnu.tar.gz | |
# sudo mv scarb-v${SCARB_VERSION}-x86_64-unknown-linux-gnu/bin/scarb /usr/local/bin |