Skip to content

Commit 4eb13ae

Browse files
committed
ci: Build and test with all feature combinations
1 parent 1ac5c3f commit 4eb13ae

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: dtolnay/rust-toolchain@stable
18+
- uses: taiki-e/install-action@cargo-hack
19+
20+
- name: Check
21+
run: cargo hack check --feature-powerset
22+
23+
- name: Build
24+
run: cargo hack build --feature-powerset
25+
26+
- name: Test
27+
env:
28+
RUST_BACKTRACE: full
29+
run: cargo hack test --feature-powerset

0 commit comments

Comments
 (0)