Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: ["master"]
pull_request:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

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

- name: Run tests with coverage
run: |
moon test --enable-coverage
Loading