Run npx scaf test
on your Sui project directory. This in turn runs:
- The tests in
.move
files under the./packages/
directory (by callingsui move test
) - The Mocha & Chai tests in the
./test/
directory.
Read more about Scaf and how to write tests for your Sui project.
Test your Sui Move packages with:
name: Test Sui Move Packages
on: [push]
jobs:
test-action:
name: Test Sui Move Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test Sui Move
uses: cNikolaou/[email protected]