-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (42 loc) · 1.06 KB
/
test.yaml
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
name: test
on:
- push
jobs:
unit-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: raviqqe/enable-homebrew@main
- run: tools/ci/setup.sh
- run: cargo test
env:
RUST_MIN_STACK: 8388608
integration-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: raviqqe/enable-homebrew@main
- run: tools/ci/setup.sh
- uses: ruby/setup-ruby@v1
- run: sudo apt update --fix-missing
- run: sudo apt install clang valgrind
- run: tools/integration_test.sh
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo fmt -- --check
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: raviqqe/enable-homebrew@main
- run: tools/ci/setup.sh
- run: cargo clippy -- -D warnings
spell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: streetsidesoftware/cspell-action@main
with:
files: "**/*.{feature,md,rs}"