File tree Expand file tree Collapse file tree 2 files changed +4
-53
lines changed Expand file tree Collapse file tree 2 files changed +4
-53
lines changed Original file line number Diff line number Diff line change @@ -26,32 +26,6 @@ concurrency:
26
26
cancel-in-progress : true
27
27
28
28
jobs :
29
- # Test the interpreter
30
- test_bin :
31
- runs-on : ubuntu-latest
32
- steps :
33
- - uses : actions/checkout@v4
34
- - uses : actions/cache@v4
35
- with :
36
- path : target
37
- key : build-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
38
- restore-keys : |
39
- build-${{ runner.os }}-
40
- - name : Run interpreter tests
41
- run : cargo test --lib
42
- # Test the site
43
- test_site :
44
- runs-on : ubuntu-latest
45
- steps :
46
- - uses : actions/checkout@v4
47
- - uses : actions/cache@v4
48
- with :
49
- path : target
50
- key : build-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
51
- restore-keys : |
52
- build-${{ runner.os }}-
53
- - name : Run site tests
54
- run : cargo test -p site
55
29
# Build the site
56
30
build_site :
57
31
needs : test_site
Original file line number Diff line number Diff line change 1
1
name : Validate
2
2
3
3
on :
4
- push :
5
- branches : ["main"]
6
- paths :
7
- - " Cargo.toml"
8
- - " Cargo.lock"
9
- - " src/**"
10
- - " parser/**"
11
- - " site/**"
12
- - " pad/**"
13
- - " tests*/**"
14
- - " changelog.md"
15
- - " readme.md"
16
- - " .github/workflows/validate.yml"
17
- pull_request :
18
- branches : ["main"]
19
- paths :
20
- - " Cargo.toml"
21
- - " Cargo.lock"
22
- - " src/**"
23
- - " parser/**"
24
- - " site/**"
25
- - " pad/**"
26
- - " tests*/**"
27
- - " changelog.md"
28
- - " readme.md"
29
- - " .github/workflows/validate.yml"
30
-
4
+ - push
5
+ - pull_request
31
6
env :
32
7
CARGO_TERM_COLOR : always
33
8
51
26
run : rustup target add wasm32-unknown-unknown
52
27
- name : Check feature combinations
53
28
run : cargo run ./.github/features.ua
29
+ - name : Run tests
30
+ run : cargo test --workspace --no-fail-fast --all-targets --all-features
You can’t perform that action at this time.
0 commit comments