Skip to content

Testing Sui packages #993

Testing Sui packages

Testing Sui packages #993

Workflow file for this run

name: sui-test
run-name: Testing Sui packages
on:
pull_request:
types: [ opened, synchronize ]
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get Sui SDK
run: |
source .env.dist
wget -qO sui_folder.tgz https://github.com/MystenLabs/sui/releases/download/${SUI_VERSION}/sui-${SUI_VERSION}-ubuntu-x86_64.tgz
tar -xzf sui_folder.tgz
cp target/release/sui-ubuntu-x86_64 sui
chmod +x sui
- name: Run test for all modules
run: |
find . -name "Move.toml" |
while read PACKAGE; do ./sui move test -p $PACKAGE --gas-limit 5000000000; done