Skip to content

Commit 65cdf2d

Browse files
tests
1 parent 7e5b7f2 commit 65cdf2d

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ jobs:
2121
- name: Run clippy
2222
run: cargo clippy --all-targets --all-features --locked -- -D warnings
2323

24+
- name: Install dnsmasq
25+
run: sudo apt-get update && sudo apt-get install -y dnsmasq
26+
27+
- name: Start dnsmasq
28+
run: sudo dnsmasq --no-daemon --no-hosts --no-resolv --port=53 --server=1.1.1.1 &
29+
2430
- name: Run tests
25-
run: cargo test --all --locked --verbose
31+
run: cargo test --all --locked --verbose -- --include-ignored

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,17 @@ Then run tests with:
148148
```bash
149149
cargo test -- --ignored
150150
```
151+
152+
## Linting
153+
154+
Run clippy for lints:
155+
156+
```bash
157+
cargo clippy --all-targets --all-features
158+
```
159+
160+
Run rustfmt for formatting:
161+
162+
```bash
163+
cargo fmt --all
164+
```

0 commit comments

Comments
 (0)