-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Cumulo/test
trying tests
- Loading branch information
Showing
8 changed files
with
248 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: install | ||
run: | | ||
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash | ||
echo "$HOME/.moon/bin" >> $GITHUB_PATH | ||
# - name: moon check | ||
# run: moon check | ||
|
||
# - name: moon info | ||
# run: | | ||
# moon info | ||
# git diff --exit-code | ||
|
||
- name: moon test | ||
run: | | ||
moon test --target wasm-gc | ||
# moon run src/main --target js | ||
# - name: moon bundle | ||
# run: moon bundle | ||
|
||
# - name: check core size | ||
# run: ls -alh `find ./target/bundle -name *.core` | ||
|
||
# - name: format diff | ||
# run: | | ||
# moon fmt | ||
# git diff |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
# lexicon-fractional-index | ||
|
||
_NOT YET_ | ||
> an implementation of [fractional index for lexicon](https://github.com/sh-tiye/lexicon-fractional-index/). | ||
```bash | ||
moon add tiye/lexicon-fractional-index | ||
``` | ||
|
||
```moonbit | ||
key_between(a, b) // generated key between a and b | ||
n_key_between(a, b, n) // n generated keys between a and b | ||
``` | ||
|
||
### License | ||
|
||
Apache 2.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"name": "username/hello", | ||
"version": "0.1.0", | ||
"name": "tiye/lexicon-fractional-index", | ||
"version": "0.0.2", | ||
"readme": "README.md", | ||
"repository": "", | ||
"license": "Apache-2.0", | ||
"keywords": [], | ||
"description": "", | ||
"source": "src" | ||
} | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.