Merge pull request #7 from greenflute/main_20241115 #17
This file contains hidden or 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: | |
pull_request: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Setup MoonBit | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Moonbit | |
uses: hustcer/setup-moonbit@develop | |
- name: Check Moonbit Version | |
run: | | |
moon version --all | |
moon update | |
moon install | |
moon test | |
- name: Integrity test | |
run: | | |
for i in tests/*.sh; do | |
echo $i | |
bash $i | |
done |