Support CfxLua #608
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
name: Test full-moon | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test (default features) | |
run: | | |
cd full-moon | |
cargo insta test | |
- name: Test (Luau feature) | |
run: | | |
cd full-moon | |
cargo insta test --features luau | |
- name: Test (Lua 5.2 feature) | |
run: | | |
cd full-moon | |
cargo insta test --features lua52 | |
- name: Test (Lua 5.3 feature) | |
run: | | |
cd full-moon | |
cargo insta test --features lua53 | |
- name: Test (Lua 5.4 feature) | |
run: | | |
cd full-moon | |
cargo insta test --features lua54 | |
- name: Test (LuaJIT feature) | |
run: | | |
cd full-moon | |
cargo insta test --features luajit | |
- name: Test (CfxLua feature) | |
run: | | |
cd full-moon | |
cargo insta test --features cfxlua | |
- name: Test (all features) | |
run: | | |
cd full-moon | |
cargo insta test --features luau,lua52,lua53,lua54,luajit,cfxlua | |
- name: Test (no default features) | |
run: | | |
cd full-moon | |
cargo insta test --no-default-features --features serde | |
- name: Rustfmt | |
run: | | |
cargo fmt -- --check |