Skip to content

Commit bd1002a

Browse files
committed
ci: test everything
1 parent 4118544 commit bd1002a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,14 @@ jobs:
1919
- name: Build
2020
run: cargo build --verbose
2121

22-
- name: Run tests
22+
- name: Run tests (No Features)
2323
run: cargo test --verbose
24+
25+
- name: Run tests (Encoding)
26+
run: cargo test --verbose --features=encoding
27+
28+
- name: Run tests (Decoding)
29+
run: cargo test --verbose --features=decoding
30+
31+
- name: Run tests (All Features)
32+
run: cargo test --verbose --all-features

tests/basic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::{fs, path::Path};
22

3-
#[cfg(feature = "encoding")]
3+
#[cfg(all(feature = "encoding", feature = "decoding"))]
44
#[test]
55
fn main() {
66
use std::path::absolute;

0 commit comments

Comments
 (0)