-
Notifications
You must be signed in to change notification settings - Fork 52
44 lines (44 loc) · 1.04 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 test
- name: Test (Luau feature)
run: |
cd full-moon
cargo test --features luau
- name: Test (Lua 5.2 feature)
run: |
cd full-moon
cargo test --features lua52
- name: Test (Lua 5.3 feature)
run: |
cd full-moon
cargo test --features lua53
- name: Test (Lua 5.4 feature)
run: |
cd full-moon
cargo test --features lua54
- name: Test (all features)
run: |
cd full-moon
cargo test --features luau,lua52,lua53,lua54
- name: Test (no default features)
run: |
cd full-moon
cargo test --no-default-features --features serde
- name: Rustfmt
run: |
cargo fmt -- --check