Skip to content

Commit ed8c3bb

Browse files
committed
ci: test more generously
1 parent 770aa1e commit ed8c3bb

File tree

2 files changed

+4
-53
lines changed

2 files changed

+4
-53
lines changed

.github/workflows/build_latest.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,6 @@ concurrency:
2626
cancel-in-progress: true
2727

2828
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
5529
# Build the site
5630
build_site:
5731
needs: test_site

.github/workflows/validate.yml

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,8 @@
11
name: Validate
22

33
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
316
env:
327
CARGO_TERM_COLOR: always
338

@@ -51,3 +26,5 @@ jobs:
5126
run: rustup target add wasm32-unknown-unknown
5227
- name: Check feature combinations
5328
run: cargo run ./.github/features.ua
29+
- name: Run tests
30+
run: cargo test --workspace --no-fail-fast --all-targets --all-features

0 commit comments

Comments
 (0)