Implemented create_with_range function #24
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: | |
STARKNET_FOUNDRY_VERSION: 0.12.0 | |
jobs: | |
check1: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.3.1" | |
- name: Install dependencies | |
run: | | |
apt-get update | |
apt-get install -y curl | |
- name: Install starknet foundry | |
run: | | |
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh -s -- -v ${STARKNET_FOUNDRY_VERSION} | |
echo "/root/.local/bin" >> $GITHUB_PATH | |
echo "Listing /root/.local/bin:" | |
ls -al /root/.local/bin | |
- name: Run cairo tests | |
run: | | |
export PATH="/root/.local/bin:$PATH" | |
echo "Current PATH: $PATH" | |
/root/.local/bin/snforge test || echo "snforge not found in /root/.local/bin" |