Skip to content

Implemented create_with_range function #24

Implemented create_with_range function

Implemented create_with_range function #24

Workflow file for this run

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"